db.models.Field.unique_for_year

Field.unique_for_year Like unique_for_date and unique_for_month.

gis.geos.GEOSGeometry.contains()

GEOSGeometry.contains(other) Returns True if other.within(this) returns True.

gis.geos.GEOSGeometry.length

GEOSGeometry.length Returns the length of this geometry (e.g., 0 for a Point, the length of a LineString, or the circumference of a Polygon).

views.generic.dates.BaseDateListView.date_list_period

date_list_period Optional A string defining the aggregation period for date_list. It must be one of 'year' (default), 'month', or 'day'.

core.files.uploadhandler.FileUploadHandler

class FileUploadHandler [source] All file upload handlers should be subclasses of django.core.files.uploadhandler.FileUploadHandler. You can define upload handlers wherever you wish.

views.generic.list.BaseListView

class django.views.generic.list.BaseListView A base view for displaying a list of objects. It is not intended to be used directly, but rather as a parent class of the django.views.generic.list.ListView or other views representing lists of objects. Ancestors (MRO) This view inherits methods and attributes from the following views: django.views.generic.list.MultipleObjectMixin django.views.generic.base.View Methods get(request, *args, **kwargs) Adds object_list to the context. If allow_em

gis.gdal.OGRGeometry.difference()

difference() Returns the region consisting of the difference of this geometry and the other, as a new OGRGeometry object.

db.models.functions.datetime.TruncDay

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

auth.models.User.last_name

last_name Optional. 30 characters or fewer.

template.Library.inclusion_tag()

django.template.Library.inclusion_tag() Another common type of template tag is the type that displays some data by rendering another template. For example, Django’s admin interface uses custom template tags to display the buttons along the bottom of the “add/change” form pages. Those buttons always look the same, but the link targets change depending on the object being edited – so they’re a perfect case for using a small template that is filled with details from the current object. (In the