forms.NullBooleanField

class NullBooleanField(**kwargs) [source] Default widget: NullBooleanSelect Empty value: None Normalizes to: A Python True, False or None value. Validates nothing (i.e., it never raises a ValidationError).

gis.db.models.functions.ForceRHR

class ForceRHR(expression, **extra) Availability: PostGIS Accepts a single geographic field or expression and returns a modified version of the polygon/multipolygon in which all of the vertices follow the right-hand rule.

db.backends.base.schema.BaseDatabaseSchemaEditor.alter_db_table()

BaseDatabaseSchemaEditor.alter_db_table(model, old_db_table, new_db_table) [source] Renames the model’s table from old_db_table to new_db_table.

gis.geos.GEOSGeometry.num_coords

GEOSGeometry.num_coords Returns the number of coordinates in the geometry.

template.Context

class Context(dict_=None) [source] This class lives at django.template.Context. The constructor takes two optional arguments: A dictionary mapping variable names to variable values. The name of the current application. This application name is used to help resolve namespaced URLs. If you’re not using namespaced URLs, you can ignore this argument. For details, see Playing with Context objects below.

core.files.storage.FileSystemStorage.file_permissions_mode

file_permissions_mode The file system permissions that the file will receive when it is saved. Defaults to FILE_UPLOAD_PERMISSIONS.

forms.Form.use_required_attribute

Form.use_required_attribute New in Django 1.10. When set to True (the default), required form fields will have the required HTML attribute. Formsets instantiate forms with use_required_attribute=False to avoid incorrect browser validation when adding and deleting forms from a formset.

forms.SelectMultiple

class SelectMultiple [source] Similar to Select, but allows multiple selection: <select multiple='multiple'>...</select>

gis.geos.GEOSGeometry.srs

GEOSGeometry.srs Returns a SpatialReference object corresponding to the SRID of the geometry or None. Note Requires GDAL.

gis.gdal.SpatialReference.pretty_wkt

pretty_wkt Returns the ‘pretty’ representation of the WKT.