Reference
PostgreSQL specific form fields and widgets
FieldsRange Fields
classIntegerRangeField : Based on IntegerField and translates its input into django.db.backends.postgresql.psycopg_any.NumericRange. Default for IntegerRangeField and BigIntegerRangeField.
Reference
PostgreSQL specific form fields and widgets
FieldsRange Fields
classDecimalRangeField : Based on DecimalField and translates its input into django.db.backends.postgresql.psycopg_any.NumericRange. Default for DecimalRangeField.
Reference
PostgreSQL specific form fields and widgets
FieldsRange Fields
classDateTimeRangeField : Based on DateTimeField and translates its input into django.db.backends.postgresql.psycopg_any.DateTimeTZRange. Default for DateTimeRangeField.
Reference
PostgreSQL specific form fields and widgets
FieldsRange Fields
classDateRangeField : Based on DateField and translates its input into django.db.backends.postgresql.psycopg_any.DateRange. Default for DateRangeField.
Reference
PostgreSQL specific form fields and widgets
Reference
PostgreSQL specific form fields and widgets
Widgets
classRangeWidget(base_widget,attrs=None) : Widget used by all of the range fields. Based on MultiWidget.
Reference
GeoDjango Forms API
Form field classes
classGeometryField[source]
Reference
GeoDjango Forms API
Form field classes
classPointField[source]
Reference
GeoDjango Forms API
Form field classes
classLineStringField[source]
Reference
GeoDjango Forms API
Form field classes
classPolygonField[source]
Reference
GeoDjango Forms API
Form field classes
classMultiPointField[source]
Reference
GeoDjango Forms API
Form field classes
classMultiLineStringField[source]
Reference
GeoDjango Forms API
Form field classes
classMultiPolygonField[source]
Reference
GeoDjango Forms API
Form field classes
classGeometryCollectionField[source]
Reference
Model forms
Model form Meta API
ModelFormOptions.error_messages : A dictionary that maps a model field name to a dictionary of error message keys (null, blank, invalid, unique, etc.) mapped to custom error messages.
5.2
6.0
dev
Reference
Model forms
Model form Meta API
ModelFormOptions.formfield_callback : A function or callable that takes a model field and returns a django.forms.Field object.
5.2
6.0
dev
Reference
Model forms
Model form Meta API
ModelFormOptions.help_texts : A dictionary that maps a model field name to a help text string.
5.2
6.0
dev
Reference
Model forms
Model form Meta API
ModelFormOptions.labels : A dictionary that maps a model field names to a label string.
5.2
6.0
dev
Reference
Model forms
Model form Meta API
ModelFormOptions.model : Required. The django.db.models.Model to be used for the ModelForm.
5.2
6.0
dev
Reference
Model forms
Model form Meta API
ModelFormOptions.widgets : A dictionary that maps a model field name to a django.forms.Widget.
5.2
6.0
dev