gis.geos.GEOSGeometry.num_coords

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

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.

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.

sessions.backends.base.SessionBase.keys()

keys()

gis.gdal.Field.width

width Returns the width of this field: >>> city['Name'].width 80

sessions.backends.base.SessionBase.__contains__()

__contains__(key) Example: 'fav_color' in request.session

views.generic.edit.ProcessFormView.get()

get(request, *args, **kwargs) Renders a response using a context created with get_context_data(). Changed in Django 1.9: Construction of the form was moved from this method to get_context_data().

gis.db.models.GeometryCollectionField

class GeometryCollectionField

core.files.storage.Storage.get_created_time()

get_created_time(name) [source] New in Django 1.10. Returns a datetime of the creation time of the file. For storage systems unable to return the creation time this will raise NotImplementedError. If USE_TZ is True, returns an aware datetime, otherwise returns a naive datetime in the local timezone.