db.backends.base.schema.BaseDatabaseSchemaEditor.execute()

BaseDatabaseSchemaEditor.execute(sql, params=[]) [source] Executes the SQL statement passed in, with parameters if supplied. This is a simple wrapper around the normal database cursors that allows capture of the SQL to a .sql file if the user wishes.

views.generic.detail.SingleObjectMixin.slug_field

slug_field The name of the field on the model that contains the slug. By default, slug_field is 'slug'.

db.models.Options.verbose_name_plural

Options.verbose_name_plural The plural name for the object: verbose_name_plural = "stories" If this isn’t given, Django will use verbose_name + "s".

admin.AdminSite.login_template

AdminSite.login_template Path to a custom template that will be used by the admin site login view.

core.files.storage._save()

_save(name, content) Called by Storage.save(). The name will already have gone through get_valid_name() and get_available_name(), and the content will be a File object itself. Should return the actual name of name of the file saved (usually the name passed in, but if the storage needs to change the file name return the new name instead).

auth.middleware.AuthenticationMiddleware

class AuthenticationMiddleware Adds the user attribute, representing the currently-logged-in user, to every incoming HttpRequest object. See Authentication in Web requests.

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.

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.

core.checks.Debug

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

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