gis.forms.MultiPolygonField

class MultiPolygonField

core.validators.URLValidator.schemes

schemes URL/URI scheme list to validate against. If not provided, the default list is ['http', 'https', 'ftp', 'ftps']. As a reference, the IANA website provides a full list of valid URI schemes.

http.HttpResponseNotAllowed

class HttpResponseNotAllowed [source] Like HttpResponse, but uses a 405 status code. The first argument to the constructor is required: a list of permitted methods (e.g. ['GET', 'POST']).

auth.models.CustomUserManager.create_user()

create_user(*username_field*, password=None, **other_fields) The prototype of create_user() should accept the username field, plus all required fields as arguments. For example, if your user model uses email as the username field, and has date_of_birth as a required field, then create_user should be defined as: def create_user(self, email, date_of_birth, password=None): # create user here ...

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.