core.validators.RegexValidator.message

message The error message used by ValidationError if validation fails. Defaults to "Enter a valid value".

core.files.storage.FileSystemStorage.location

location Absolute path to the directory that will hold the files. Defaults to the value of your MEDIA_ROOT setting.

core.checks.Error

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

utils.cache.patch_cache_control()

patch_cache_control(response, **kwargs) [source] This function patches the Cache-Control header by adding all keyword arguments to it. The transformation is as follows: All keyword parameter names are turned to lowercase, and underscores are converted to hyphens. If the value of a parameter is True (exactly True, not just a true value), only the parameter name is added to the header. All other parameters are added with their value, after applying str() to it.

postgres.aggregates.BitOr

class BitOr(expression, **extra) [source] Returns an int of the bitwise OR of all non-null input values, or None if all values are null.

views.generic.edit.ProcessFormView.put()

put(*args, **kwargs) The PUT action is also handled and just passes all parameters through to post().

views.generic.dates.DateMixin.date_field

date_field The name of the DateField or DateTimeField in the QuerySet’s model that the date-based archive should use to determine the list of objects to display on the page. When time zone support is enabled and date_field is a DateTimeField, dates are assumed to be in the current time zone. Otherwise, the queryset could include objects from the previous or the next day in the end user’s time zone. Warning In this situation, if you have implemented per-user time zone selection, the same URL

http.HttpResponseNotFound

class HttpResponseNotFound [source] Acts just like HttpResponse but uses a 404 status code.

db.migrations.operations.AlterModelOptions

class AlterModelOptions(name, options) [source] Stores changes to miscellaneous model options (settings on a model’s Meta) like permissions and verbose_name. Does not affect the database, but persists these changes for RunPython instances to use. options should be a dictionary mapping option names to values.

db.models.Options.abstract

Options.abstract If abstract = True, this model will be an abstract base class.