auth.mixins.PermissionRequiredMixin.has_permission()

has_permission() Returns a boolean denoting whether the current user has permission to execute the decorated view. By default, this returns the result of calling has_perms() with the list of permissions returned by get_permission_required().

gis.gdal.OGRGeometry.hex

hex Returns a string representation of this geometry in HEX WKB format: >>> OGRGeometry('POINT(1 2)').hex '0101000000000000000000F03F0000000000000040'

postgres.aggregates.RegrCount

class RegrCount(y, x) [source] Returns an int of the number of input rows in which both expressions are not null.

db.models.functions.datetime.ExtractYear

class ExtractYear(expression, tzinfo=None, **extra) [source] lookup_name = 'year'

core.signing.dumps()

dumps(obj, key=None, salt='django.core.signing', compress=False) [source] Returns URL-safe, sha1 signed base64 compressed JSON string. Serialized object is signed using TimestampSigner.

auth.validators.UnicodeUsernameValidator

class validators.UnicodeUsernameValidator New in Django 1.10. A field validator allowing Unicode letters, in addition to @, ., +, -, and _. The default validator for User.username on Python 3.

gis.geos.PreparedGeometry.contains_properly()

contains_properly(other)

gis.gdal.Field.type_name

type_name Returns a string with the name of the data type of this field: >>> city['Name'].type_name 'String'

contenttypes.models.ContentType.app_label

app_label The name of the application the model is part of. This is taken from the app_label attribute of the model, and includes only the last part of the application’s Python import path; “django.contrib.contenttypes”, for example, becomes an app_label of “contenttypes”.

db.models.FileField

class FileField(upload_to=None, max_length=100, **options) [source] A file-upload field. Note The primary_key and unique arguments are not supported, and will raise a TypeError if used. Has two optional arguments: