auth.models.Permission.name

name Required. 255 characters or fewer. Example: 'Can vote'.

apps.AppConfig.path

AppConfig.path Filesystem path to the application directory, e.g. '/usr/lib/python3.4/dist-packages/django/contrib/admin'. In most cases, Django can automatically detect and set this, but you can also provide an explicit override as a class attribute on your AppConfig subclass. In a few situations this is required; for instance if the app package is a namespace package with multiple paths.

admin.ModelAdmin.filter_vertical

ModelAdmin.filter_vertical Same as filter_horizontal, but uses a vertical display of the filter interface with the box of unselected options appearing above the box of selected options.

gis.gdal.GDALBand

class GDALBand GDALBand instances are not created explicitly, but rather obtained from a GDALRaster object, through its bands attribute. The GDALBands contain the actual pixel values of the raster. description The name or description of the band, if any. width The width of the band in pixels (X-axis). height The height of the band in pixels (Y-axis). pixel_count New in Django 1.9. The total number of pixels in this band. Is equal to width * height. statistics(refre

core.checks.Debug

class Debug(msg, hint=None, obj=None, id=None) [source]

core.validators.EmailValidator.whitelist

whitelist Whitelist of email domains to allow. By default, a regular expression (the domain_regex attribute) is used to validate whatever appears after the @ sign. However, if that string appears in the whitelist, this validation is bypassed. If not provided, the default whitelist is ['localhost']. Other domains that don’t contain a dot won’t pass validation, so you’d need to whitelist them as necessary.

utils.http.urlsafe_base64_encode()

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

auth.models.Permission.content_type

content_type Required. A reference to the django_content_type database table, which contains a record for each installed model.

Generic views

See Built-in class-based views API.

auth.models.PermissionsMixin.get_all_permissions()

get_all_permissions(obj=None) Returns a set of permission strings that the user has, both through group and user permissions. If obj is passed in, only returns the permissions for this specific object.