db.models.Options.required_db_vendor

Options.required_db_vendor New in Django 1.9. Name of a supported database vendor that this model is specific to. Current built-in vendor names are: sqlite, postgresql, mysql, oracle. If this attribute is not empty and the current connection vendor doesn’t match it, the model will not be synchronized.

db.models.functions.datetime.TruncMinute

class TruncMinute(expression, output_field=None, tzinfo=None, **extra) [source] kind = 'minute'

db.models.functions.datetime.TruncDate

class TruncDate(expression, **extra) [source] lookup_name = 'date' output_field = DateField() TruncDate casts expression to a date rather than using the built-in SQL truncate function. It’s also registered as a transform on DateTimeField as __date.

gis.gdal.OGRGeometry.wkt

wkt Returns a string representation of this geometry in WKT format.

views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix

template_name_suffix The suffix to append to the auto-generated candidate template name. Default suffix is _list.

views.decorators.vary.vary_on_headers()

vary_on_headers(*headers) [source] The Vary header defines which request headers a cache mechanism should take into account when building its cache key. See using vary headers.

db.models.functions.datetime.ExtractHour

class ExtractHour(expression, tzinfo=None, **extra) [source] lookup_name = 'hour'

gis.geos.Polygon

class Polygon(*args, **kwargs) Polygon objects may be instantiated by passing in parameters that represent the rings of the polygon. The parameters must either be LinearRing instances, or a sequence that may be used to construct a LinearRing: >>> ext_coords = ((0, 0), (0, 1), (1, 1), (1, 0), (0, 0)) >>> int_coords = ((0.4, 0.4), (0.4, 0.6), (0.6, 0.6), (0.6, 0.4), (0.4, 0.4)) >>> poly = Polygon(ext_coords, int_coords) >>> poly = Polygon(LinearRing(ext_coor

contenttypes.forms.BaseGenericInlineFormSet

class BaseGenericInlineFormSet

auth.backends.ModelBackend.get_group_permissions()

get_group_permissions(user_obj, obj=None) Returns the set of permission strings the user_obj has from the permissions of the groups they belong. Returns an empty set if is_anonymous or is_active is False.