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

gis.widgets.OSMWidget

class OSMWidget This widget uses an OpenStreetMap base layer (Mapnik) to display geographic objects on. template_name is gis/openlayers-osm.html. The OpenLayersWidget note about JavaScript file hosting above also applies here. See also this FAQ answer about https access to map tiles.

auth.models.User.has_perms()

has_perms(perm_list, obj=None) Returns True if the user has each of the specified permissions, where each perm is in the format "<app label>.<permission codename>". If the user is inactive, this method will always return False. If obj is passed in, this method won’t check for permissions for the model, but for the specific object.

postgres.forms.SplitArrayField.base_field

base_field This is a required argument. It specifies the form field to be repeated.

http.HttpResponse.delete_cookie()

HttpResponse.delete_cookie(key, path='/', domain=None) Deletes the cookie with the given key. Fails silently if the key doesn’t exist. Due to the way cookies work, path and domain should be the same values you used in set_cookie() – otherwise the cookie may not be deleted.

utils.feedgenerator.RssUserland091Feed

class RssUserland091Feed(RssFeed) [source] Spec: http://backend.userland.com/rss091

gis.gdal.OGRGeometry.intersection()

intersection() Returns the region consisting of the intersection of this geometry and the other, as a new OGRGeometry object.

db.models.Field.value_to_string()

value_to_string(obj) [source] Converts obj to a string. Used to serialize the value of the field. See Converting field data for serialization for usage. When using model forms, the Field needs to know which form field it should be represented by:

core.validators.MaxLengthValidator

class MaxLengthValidator(max_length, message=None) [source] Raises a ValidationError with a code of 'max_length' if the length of value is greater than max_length.

gis.db.models.functions.Envelope

class Envelope(expression, **extra) Availability: MySQL, PostGIS, SpatiaLite Accepts a single geographic field or expression and returns the geometry representing the bounding box of the geometry.