Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ PointForm
Class
PointForm
tests/gis_tests/test_geoforms.py:437–438 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
435
436
def
test_osm_widget(self):
437
class
PointForm(forms.Form):
438
p = forms.PointField(widget=forms.OSMWidget)
439
440
geom = self.geometries[
"point"
]
441
form = PointForm(data={
"p"
: geom})
Callers
8
test_field_with_text_widget
Method · 0.70
test_field_string_value
Method · 0.70
test_override_attrs
Method · 0.70
test_pointfield
Method · 0.70
test_multipointfield
Method · 0.70
test_osm_widget
Method · 0.70
test_default_lat_lon
Method · 0.70
test_custom_serialization_widget
Method · 0.70
Calls
no outgoing calls
Tested by
8
test_field_with_text_widget
Method · 0.56
test_field_string_value
Method · 0.56
test_override_attrs
Method · 0.56
test_pointfield
Method · 0.56
test_multipointfield
Method · 0.56
test_osm_widget
Method · 0.56
test_default_lat_lon
Method · 0.56
test_custom_serialization_widget
Method · 0.56