auth.middleware.RemoteUserMiddleware

class RemoteUserMiddleware Middleware for utilizing Web server provided authentication. See Authentication using REMOTE_USER for usage details.

forms.Field.label_suffix

Field.label_suffix The label_suffix argument lets you override the form’s label_suffix on a per-field basis: >>> class ContactForm(forms.Form): ... age = forms.IntegerField() ... nationality = forms.CharField() ... captcha_answer = forms.IntegerField(label='2 + 2', label_suffix=' =') >>> f = ContactForm(label_suffix='?') >>> print(f.as_p()) <p><label for="id_age">Age?</label> <input id="id_age" name="age" type="number" required />

gis.geos.Point

class Point(x=None, y=None, z=None, srid=None) Point objects are instantiated using arguments that represent the component coordinates of the point or with a single sequence coordinates. For example, the following are equivalent: >>> pnt = Point(5, 23) >>> pnt = Point([5, 23]) Empty Point objects may be instantiated by passing no arguments or an empty sequence. The following are equivalent: >>> pnt = Point() >>> pnt = Point([]) Changed in Django 1.10: I

admin.ModelAdmin.get_readonly_fields()

ModelAdmin.get_readonly_fields(request, obj=None) The get_readonly_fields method is given the HttpRequest and the obj being edited (or None on an add form) and is expected to return a list or tuple of field names that will be displayed as read-only, as described above in the ModelAdmin.readonly_fields section.

http.HttpRequest.get_full_path()

HttpRequest.get_full_path() [source] Returns the path, plus an appended query string, if applicable. Example: "/music/bands/the_beatles/?print=true"

gis.gdal.GDALRaster.geotransform

geotransform The affine transformation matrix used to georeference the source, as a tuple of six coefficients which map pixel/line coordinates into georeferenced space using the following relationship: Xgeo = GT(0) + Xpixel*GT(1) + Yline*GT(2) Ygeo = GT(3) + Xpixel*GT(4) + Yline*GT(5) The same values can be retrieved by accessing the origin (indices 0 and 3), scale (indices 1 and 5) and skew (indices 2 and 4) properties. The default is [0.0, 1.0, 0.0, 0.0, 0.0, -1.0]. >>> rst = GDA

http.QueryDict.iterlists()

QueryDict.iterlists() Like QueryDict.iteritems() except it includes all values, as a list, for each member of the dictionary.

test.SimpleTestCase.assertTemplateUsed()

SimpleTestCase.assertTemplateUsed(response, template_name, msg_prefix='', count=None) [source] Asserts that the template with the given name was used in rendering the response. The name is a string such as 'admin/index.html'. The count argument is an integer indicating the number of times the template should be rendered. Default is None, meaning that the template should be rendered one or more times. You can use this as a context manager, like this: with self.assertTemplateUsed('index.html')

gis.gdal.OGRGeometry.tuple

tuple Returns the coordinates of a point geometry as a tuple, the coordinates of a line geometry as a tuple of tuples, and so forth: >>> OGRGeometry('POINT (1 2)').tuple (1.0, 2.0) >>> OGRGeometry('LINESTRING (1 2,3 4)').tuple ((1.0, 2.0), (3.0, 4.0))

views.generic.dates.ArchiveIndexView

class ArchiveIndexView [source] A top-level index page showing the “latest” objects, by date. Objects with a date in the future are not included unless you set allow_future to True. Ancestors (MRO) django.views.generic.list.MultipleObjectTemplateResponseMixin django.views.generic.base.TemplateResponseMixin django.views.generic.dates.BaseArchiveIndexView django.views.generic.dates.BaseDateListView django.views.generic.list.MultipleObjectMixin django.views.generic.dates.DateMixin django.views.