gis.geoip2.GeoIP2.country()

GeoIP2.country(query) Returns a dictionary with the country code and country for the given query.

admin.AdminSite.login_template

AdminSite.login_template Path to a custom template that will be used by the admin site login view.

postgres.operations.TrigramExtension

class TrigramExtension [source] New in Django 1.10. Installs the pg_trgm extension.

utils.http.urlsafe_base64_encode()

urlsafe_base64_encode(s) [source] Encodes a bytestring in base64 for use in URLs, stripping any trailing equal signs.

core.files.images.ImageFile.height

height Height of the image in pixels.

views.generic.edit.ModelFormMixin.form_invalid()

form_invalid() Renders a response, providing the invalid form as context.

core.validators.RegexValidator.flags

flags The flags used when compiling the regular expression string regex. If regex is a pre-compiled regular expression, and flags is overridden, TypeError is raised. Defaults to 0.

core.paginator.Page.previous_page_number()

Page.previous_page_number() [source] Returns the previous page number. Raises InvalidPage if previous page doesn’t exist.

gis.gdal.OGRGeometry

class OGRGeometry(geom_input, srs=None) This object is a wrapper for the OGR Geometry class. These objects are instantiated directly from the given geom_input parameter, which may be a string containing WKT, HEX, GeoJSON, a buffer containing WKB data, or an OGRGeomType object. These objects are also returned from the Feature.geom attribute, when reading vector data from Layer (which is in turn a part of a DataSource). classmethod from_bbox(bbox) Constructs a Polygon from the given bound

contenttypes.admin.GenericTabularInline

class GenericTabularInline