admin.InlineModelAdmin.verbose_name

InlineModelAdmin.verbose_name An override to the verbose_name found in the model’s inner Meta class.

gis.db.models.functions.Transform

class Transform(expression, srid, **extra) Availability: PostGIS, Oracle, SpatiaLite Accepts a geographic field or expression and a SRID integer code, and returns the transformed geometry to the spatial reference system specified by the srid parameter. Note What spatial reference system an integer SRID corresponds to may depend on the spatial database used. In other words, the SRID numbers used for Oracle are not necessarily the same as those used by PostGIS.

gis.db.models.GeoQuerySet.kml()

GeoQuerySet.kml(**kwargs) Deprecated since version 1.9: Use the AsKML function instead. Availability: PostGIS, SpatiaLite Attaches a kml attribute to every model in the queryset that contains the Keyhole Markup Language (KML) representation of the geometry fields. It should be noted that the contents of the KML are transformed to WGS84 if necessary. Example: >>> qs = Zipcode.objects.all().kml() >>> print(qs[0].kml) <Polygon><outerBoundaryIs><LinearRing>&

gis.geoip.GeoIP.lon_lat()

GeoIP.lon_lat(query) Returns a coordinate tuple of (longitude, latitude).

db.models.options.Options.get_fields()

Options.get_fields(include_parents=True, include_hidden=False) [source] Returns a tuple of fields associated with a model. get_fields() accepts two parameters that can be used to control which fields are returned: include_parents True by default. Recursively includes fields defined on parent classes. If set to False, get_fields() will only search for fields declared directly on the current model. Fields from models that directly inherit from abstract models or proxy classes are considered

auth.models.User.set_unusable_password()

set_unusable_password() Marks the user as having no password set. This isn’t the same as having a blank string for a password. check_password() for this user will never return True. Doesn’t save the User object. You may need this if authentication for your application takes place against an existing external source such as an LDAP directory.

http.HttpResponse.readable()

HttpResponse.readable() New in Django 1.10: Always False. This method makes an HttpResponse instance a stream-like object.

postgres.validators.RangeMinValueValidator

class RangeMinValueValidator(limit_value, message=None) [source] Validates that the lower bound of the range is not less than the limit_value.

auth.mixins.AccessMixin.get_login_url()

get_login_url() Returns the URL that users who don’t pass the test will be redirected to. Returns login_url if set, or settings.LOGIN_URL otherwise.

auth.mixins.AccessMixin.get_permission_denied_message()

get_permission_denied_message() When raise_exception is True, this method can be used to control the error message passed to the error handler for display to the user. Returns the permission_denied_message attribute by default.