utils.translation.pgettext_lazy()

pgettext_lazy(context, message) Same as the non-lazy versions above, but using lazy execution. See lazy translations documentation.

gis.gdal.Layer.extent

extent Returns the spatial extent of this layer, as an Envelope object: >>> layer.extent.tuple (-104.609252, 29.763374, -95.23506, 38.971823)

gis.geoip.GeoIP.country_name_by_addr()

GeoIP.country_name_by_addr(query)

test.Response.client

client The test client that was used to make the request that resulted in the response.

gis.geos.WKTWriter.trim

trim New in Django 1.10. This property is used to enable or disable trimming of unnecessary decimals. >>> from django.contrib.gis.geos import Point, WKTWriter >>> pnt = Point(1, 1) >>> wkt_w = WKTWriter() >>> wkt_w.trim False >>> wkt_w.write(pnt) 'POINT (1.0000000000000000 1.0000000000000000)' >>> wkt_w.trim = True >>> wkt_w.write(pnt) 'POINT (1 1)'

forms.BoundField.is_hidden

BoundField.is_hidden Returns True if this BoundField‘s widget is hidden.

gis.widgets.BaseGeometryWidget.display_raw

BaseGeometryWidget.display_raw Boolean value specifying if a textarea input showing the serialized representation of the current geometry is visible, mainly for debugging purposes (default is False).

forms.GenericIPAddressField.protocol

protocol Limits valid inputs to the specified protocol. Accepted values are both (default), IPv4 or IPv6. Matching is case insensitive.

views.generic.edit.ModelFormMixin.fields

fields A list of names of fields. This is interpreted the same way as the Meta.fields attribute of ModelForm. This is a required attribute if you are generating the form class automatically (e.g. using model). Omitting this attribute will result in an ImproperlyConfigured exception.

db.models.FilePathField

class FilePathField(path=None, match=None, recursive=False, max_length=100, **options) [source] A CharField whose choices are limited to the filenames in a certain directory on the filesystem. Has three special arguments, of which the first is required: