forms.models.BaseModelFormSet.changed_objects

models.BaseModelFormSet.changed_objects

forms.DateField.input_formats

input_formats A list of formats used to attempt to convert a string to a valid datetime.date object. If no input_formats argument is provided, the default input formats are: ['%Y-%m-%d', # '2006-10-25' '%m/%d/%Y', # '10/25/2006' '%m/%d/%y'] # '10/25/06' Additionally, if you specify USE_L10N=False in your settings, the following will also be included in the default input formats: ['%b %d %Y', # 'Oct 25 2006' '%b %d, %Y', # 'Oct 25, 2006' '%d %b %Y', # '25 Oct

forms.DateTimeInput.format

format The format in which this field’s initial value will be displayed. If no format argument is provided, the default format is the first format found in DATETIME_INPUT_FORMATS and respects Format localization. By default, the microseconds part of the time value is always set to 0. If microseconds are required, use a subclass with the supports_microseconds attribute set to True.

The Django template language

This document explains the language syntax of the Django template system. If you’re looking for a more technical perspective on how it works and how to extend it, see The Django template language: for Python programmers. Django’s template language is designed to strike a balance between power and ease. It’s designed to feel comfortable to those used to working with HTML. If you have any exposure to other text-based template languages, such as Smarty or Jinja2, you should feel right at home with

gis.db.models.functions.MemSize

class MemSize(expression, **extra) Availability: PostGIS Accepts a single geographic field or expression and returns the memory size (number of bytes) that the geometry field takes.

postgres.aggregates.CovarPop.sample

sample By default CovarPop returns the general population covariance. However, if sample=True, the return value will be the sample population covariance.

postgres.aggregates.RegrSXX

class RegrSXX(y, x) [source] Returns sum(x^2) - sum(x)^2/N (“sum of squares” of the independent variable) as a float, or None if there aren’t any matching rows.

admin.InlineModelAdmin.get_formset()

InlineModelAdmin.get_formset(request, obj=None, **kwargs) Returns a BaseInlineFormSet class for use in admin add/change views. See the example for ModelAdmin.get_formsets_with_inlines.

sites.requests.RequestSite.__init__()

__init__(request) Sets the name and domain attributes to the value of get_host().

gis.gdal.OGRGeometry.geom_name

geom_name Returns the name of the type of this geometry: >>> polygon.geom_name 'POLYGON'