class documentation
class BaseGeometryWidget(Widget): (source)
Known subclasses: django.contrib.gis.forms.widgets.OpenLayersWidget
The base class for rich geometry widgets. Render a map using the WKT of the geometry.
Method | __init__ |
Undocumented |
Method | deserialize |
Undocumented |
Method | get |
Undocumented |
Method | serialize |
Undocumented |
Class Variable | display |
Undocumented |
Class Variable | geom |
Undocumented |
Class Variable | map |
Undocumented |
Class Variable | map |
Undocumented |
Class Variable | map |
Undocumented |
Class Variable | supports |
Undocumented |
Class Variable | template |
Undocumented |
Instance Variable | attrs |
Undocumented |
Inherited from Widget
:
Method | __deepcopy__ |
Undocumented |
Method | build |
Build an attribute dictionary. |
Method | format |
Return a value as it should appear when rendered in a template. |
Method | id |
Return the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Return an empty string if no ID is available. |
Method | render |
Render the widget as an HTML string. |
Method | subwidgets |
Undocumented |
Method | use |
Undocumented |
Method | value |
Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided. |
Method | value |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | needs |
Undocumented |
Class Variable | supports |
Undocumented |
Class Variable | use |
Undocumented |
Property | is |
Undocumented |
Method | _render |
Undocumented |
overrides
django.forms.widgets.Widget.__init__
overridden in
django.contrib.gis.forms.widgets.OSMWidget
Undocumented