forms.models.inlineformset_factory()

inlineformset_factory(parent_model, model, form=ModelForm, formset=BaseInlineFormSet, fk_name=None, fields=None, exclude=None, extra=3, can_order=False, can_delete=True, max_num=None, formfield_callback=None, widgets=None, validate_max=False, localized_fields=None, labels=None, help_texts=None, error_messages=None, min_num=None, validate_min=False, field_classes=None) [source] Returns an InlineFormSet using modelformset_factory() with defaults of formset=BaseInlineFormSet, can_delete=True, a

http.HttpRequest.META

HttpRequest.META A standard Python dictionary containing all available HTTP headers. Available headers depend on the client and server, but here are some examples: CONTENT_LENGTH – The length of the request body (as a string). CONTENT_TYPE – The MIME type of the request body. HTTP_ACCEPT – Acceptable content types for the response. HTTP_ACCEPT_ENCODING – Acceptable encodings for the response. HTTP_ACCEPT_LANGUAGE – Acceptable languages for the response. HTTP_HOST – The HTTP Host header

http.QueryDict.itervalues()

QueryDict.itervalues() Just like QueryDict.values(), except an iterator. In addition, QueryDict has the following methods:

core.validators.DecimalValidator

class DecimalValidator(max_digits, decimal_places) [source] New in Django 1.9. Raises ValidationError with the following codes: 'max_digits' if the number of digits is larger than max_digits. 'max_decimal_places' if the number of decimals is larger than decimal_places. 'max_whole_digits' if the number of whole digits is larger than the difference between max_digits and decimal_places.

admin.ModelAdmin.get_list_display_links()

ModelAdmin.get_list_display_links(request, list_display) [source] The get_list_display_links method is given the HttpRequest and the list or tuple returned by ModelAdmin.get_list_display(). It is expected to return either None or a list or tuple of field names on the changelist that will be linked to the change view, as described in the ModelAdmin.list_display_links section.

db.models.functions.Coalesce

class Coalesce(*expressions, **extra) [source] Accepts a list of at least two field names or expressions and returns the first non-null value (note that an empty string is not considered a null value). Each argument must be of a similar type, so mixing text and numbers will result in a database error. Usage examples: >>> # Get a screen name from least to most public >>> from django.db.models import Sum, Value as V >>> from django.db.models.functions import Coalesce

gis.geos.GEOSGeometry.overlaps()

GEOSGeometry.overlaps(other) Returns true if the DE-9IM intersection matrix for the two geometries is T*T***T** (for two points or two surfaces) 1*T***T** (for two curves).

auth.models.User.is_staff

is_staff Boolean. Designates whether this user can access the admin site.

postgres.forms.RangeWidget.base_widget

base_widget A RangeWidget comprises a 2-tuple of base_widget.

postgres.aggregates.CovarPop

class CovarPop(y, x, sample=False) [source] Returns the population covariance as a float, or None if there aren’t any matching rows. Has one optional argument: sample By default CovarPop returns the general population covariance. However, if sample=True, the return value will be the sample population covariance.