gis.gdal.Layer.geom_type

geom_type Returns the geometry type of the layer, as an OGRGeomType object: >>> layer.geom_type.name 'Point'

db.models.Expression.set_source_expressions()

set_source_expressions(expressions) Takes a list of expressions and stores them such that get_source_expressions() can return them.

auth.models.User.last_login

last_login A datetime of the user’s last login.

gis.db.models.GeoQuerySet.difference()

GeoQuerySet.difference(geom) Deprecated since version 1.9: Use the Difference function instead. Returns the spatial difference of the geographic field with the given geometry in a difference attribute on each element of the GeoQuerySet.

gis.geos.Polygon.num_interior_rings

num_interior_rings Returns the number of interior rings in this geometry.

db.migrations.operations.RunSQL

class RunSQL(sql, reverse_sql=None, state_operations=None, hints=None, elidable=False) [source] Allows running of arbitrary SQL on the database - useful for more advanced features of database backends that Django doesn’t support directly, like partial indexes. sql, and reverse_sql if provided, should be strings of SQL to run on the database. On most database backends (all but PostgreSQL), Django will split the SQL into individual statements prior to executing them. This requires installing t

gis.gdal.SpatialReference.auth_name()

auth_name(target) Returns the authority name for the given string target node.

db.models.ManyToManyField

class ManyToManyField(othermodel, **options) [source] A many-to-many relationship. Requires a positional argument: the class to which the model is related, which works exactly the same as it does for ForeignKey, including recursive and lazy relationships. Related objects can be added, removed, or created with the field’s RelatedManager.

auth.models.CustomUser.get_short_name()

get_short_name() A short, informal identifier for the user. A common interpretation would be the first name of the user, but it can be any string that identifies the user in an informal way. It may also return the same value as django.contrib.auth.models.User.get_full_name(). Importing AbstractBaseUser New in Django 1.9. AbstractBaseUser and BaseUserManager are importable from django.contrib.auth.base_user so that they can be imported without including django.contrib.auth in INSTALLED_APP

utils.translation.ugettext()

ugettext(message) [source] Translates message and returns it in a unicode string