utils.translation.templatize()

templatize(src) [source] Turns a Django template into something that is understood by xgettext. It does so by translating the Django translation tags into standard gettext function invocations.

utils.translation.ungettext()

ungettext(singular, plural, number) [source] Translates singular and plural and returns the appropriate string based on number in a unicode string.

gis.forms.Field.geom_type

Field.geom_type You generally shouldn’t have to set or change that attribute which should be setup depending on the field class. It matches the OpenGIS standard geometry name.

forms.Field.validators

Field.validators The validators argument lets you provide a list of validation functions for this field. See the validators documentation for more information.

core.files.storage.Storage.modified_time()

modified_time(name) [source] Returns a naive datetime object containing the last modified time. For storage systems that aren’t able to return the last modified time, this will raise NotImplementedError instead. Deprecated since version 1.10: Use get_modified_time() instead.

utils.translation.string_concat()

string_concat(*strings) Lazy variant of string concatenation, needed for translations that are constructed from multiple parts.

db.models.Field.related_model

Field.related_model Points to the model the field relates to. For example, Author in ForeignKey(Author, on_delete=models.CASCADE). If a field has a generic relation (such as a GenericForeignKey or a GenericRelation) then related_model will be None.

gis.gdal.Polygon.exterior_ring

exterior_ring An alias for shell.

core.validators.EmailValidator.code

code The error code used by ValidationError if validation fails. Defaults to "invalid".

utils.http.int_to_base36()

int_to_base36(i) [source] Converts a positive integer to a base 36 string. On Python 2 i must be smaller than sys.maxint.