db.models.Options.verbose_name_plural

Options.verbose_name_plural The plural name for the object: verbose_name_plural = "stories" If this isn’t given, Django will use verbose_name + "s".

db.models.query.QuerySet.select_for_update()

select_for_update(nowait=False) Returns a queryset that will lock rows until the end of the transaction, generating a SELECT ... FOR UPDATE SQL statement on supported databases. For example: entries = Entry.objects.select_for_update().filter(author=request.user) All matched entries will be locked until the end of the transaction block, meaning that other transactions will be prevented from changing or acquiring locks on them. Usually, if another transaction has already acquired a lock on on

views.decorators.cache.cache_control()

cache_control(**kwargs) [source] This decorator patches the response’s Cache-Control header by adding all of the keyword arguments to it. See patch_cache_control() for the details of the transformation.

db.models.Func.function

function A class attribute describing the function that will be generated. Specifically, the function will be interpolated as the function placeholder within template. Defaults to None.

middleware.common.CommonMiddleware.response_redirect_class

CommonMiddleware.response_redirect_class Defaults to HttpResponsePermanentRedirect. Subclass CommonMiddleware and override the attribute to customize the redirects issued by the middleware.

postgres.operations.TrigramExtension

class TrigramExtension [source] New in Django 1.10. Installs the pg_trgm extension.

Generic views

See Built-in class-based views API.

auth.models.Permission.content_type

content_type Required. A reference to the django_content_type database table, which contains a record for each installed model.

gis.gdal.OGRGeometry.area

area Returns the area of this geometry, or 0 for geometries that do not contain an area: >>> polygon.area 25.0

utils.translation.check_for_language()

check_for_language(lang_code) [source] Checks whether there is a global language file for the given language code (e.g. ‘fr’, ‘pt_BR’). This is used to decide whether a user-provided language is available.