postgres.aggregates.RegrIntercept

class RegrIntercept(y, x) [source] Returns the y-intercept of the least-squares-fit linear equation determined by the (x, y) pairs as a float, or None if there aren’t any matching rows.

http.QueryDict.update()

QueryDict.update(other_dict) Takes either a QueryDict or standard dictionary. Just like the standard dictionary update() method, except it appends to the current dictionary items rather than replacing them. For example: >>> q = QueryDict('a=1', mutable=True) >>> q.update({'a': '2'}) >>> q.getlist('a') ['1', '2'] >>> q['a'] # returns the last '2'

utils.translation.npgettext_lazy()

npgettext_lazy(context, singular, plural, number) [source] Same as the non-lazy versions above, but using lazy execution. See lazy translations documentation.

template.Context.get()

Context.get(key, otherwise=None) Returns the value for key if key is in the context, else returns otherwise.

db.models.Field.description

description A verbose description of the field, e.g. for the django.contrib.admindocs application. The description can be of the form: description = _("String (up to %(max_length)s)") where the arguments are interpolated from the field’s __dict__. To map a Field to a database-specific type, Django exposes several methods:

gis.feeds.Feed

class Feed [source] In addition to methods provided by the django.contrib.syndication.views.Feed base class, GeoDjango’s Feed class provides the following overrides. Note that these overrides may be done in multiple ways: from django.contrib.gis.feeds import Feed class MyFeed(Feed): # First, as a class attribute. geometry = ... item_geometry = ... # Also a function with no arguments def geometry(self): ... def item_geometry(self): ... # And as

admin.AdminSite.password_change_template

AdminSite.password_change_template Path to a custom template that will be used by the admin site password change view.

utils.feedgenerator.Atom1Feed

class Atom1Feed(SyndicationFeed) [source] Spec: https://tools.ietf.org/html/rfc4287

db.models.Options.label_lower

Options.label_lower New in Django 1.9. Representation of the model, returns app_label.model_name, e.g. 'polls.question'.

utils.translation.ngettext()

ngettext(singular, plural, number) [source] Translates singular and plural and returns the appropriate string based on number in a UTF-8 bytestring.