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".

views.decorators.cache.cache_control()

cache_control(**kwargs) [source] This decorator patches the response’s Cache-Control header by adding all of the keyword arguments to it. See patch_cache_control() for the details of the transformation.

db.models.Func.function

function A class attribute describing the function that will be generated. Specifically, the function will be interpolated as the function placeholder within template. Defaults to None.

middleware.common.CommonMiddleware.response_redirect_class

CommonMiddleware.response_redirect_class Defaults to HttpResponsePermanentRedirect. Subclass CommonMiddleware and override the attribute to customize the redirects issued by the middleware.

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.

utils.http.urlsafe_base64_encode()

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

core.files.images.ImageFile.height

height Height of the image in pixels.

views.generic.edit.ModelFormMixin.form_invalid()

form_invalid() Renders a response, providing the invalid form as context.