views.generic.dates.YearArchiveView.make_object_list

make_object_list A boolean specifying whether to retrieve the full list of objects for this year and pass those to the template. If True, the list of objects will be made available to the context. If False, the None queryset will be used as the object list. By default, this is False.

utils.feedgenerator.SyndicationFeed.latest_post_date()

latest_post_date() [source] Returns the latest pubdate or updateddate for all items in the feed. If no items have either of these attributes this returns the current date/time.

db.models.AutoField

class AutoField(**options) [source] An IntegerField that automatically increments according to available IDs. You usually won’t need to use this directly; a primary key field will automatically be added to your model if you don’t specify otherwise. See Automatic primary key fields.

gis.geos.GEOSGeometry.coords

GEOSGeometry.coords Returns the coordinates of the geometry as a tuple.

views.debug.SafeExceptionReporterFilter

class SafeExceptionReporterFilter [source]

gis.geoip2.GeoIP2.country_name()

GeoIP2.country_name(query) Returns the country name corresponding to the query.

utils.dateparse.parse_time()

parse_time(value) [source] Parses a string and returns a datetime.time. UTC offsets aren’t supported; if value describes one, the result is None.

forms.Select.choices

choices This attribute is optional when the form field does not have a choices attribute. If it does, it will override anything you set here when the attribute is updated on the Field.

auth.mixins.PermissionRequiredMixin

class PermissionRequiredMixin New in Django 1.9. This mixin, just like the permission_required decorator, checks whether the user accessing a view has all given permissions. You should specify the permission (or an iterable of permissions) using the permission_required parameter: from django.contrib.auth.mixins import PermissionRequiredMixin class MyView(PermissionRequiredMixin, View): permission_required = 'polls.can_vote' # Or multiple of permissions: permission_required = (

auth.models.User.is_superuser

is_superuser Boolean. Designates that this user has all permissions without explicitly assigning them.