views.generic.base.RedirectView.url

url The URL to redirect to, as a string. Or None to raise a 410 (Gone) HTTP error.

test.Client.trace()

trace(path, follow=False, secure=False, **extra) [source] Makes a TRACE request on the provided path and returns a Response object. Useful for simulating diagnostic probes. Unlike the other request methods, data is not provided as a keyword parameter in order to comply with RFC 7231#section-4.3.8, which mandates that TRACE requests must not have a body. The follow, secure, and extra arguments act the same as for Client.get().

auth.password_validation.NumericPasswordValidator

class NumericPasswordValidator [source] Validates whether the password is not entirely numeric.

db.models.Expression.reverse_ordering()

reverse_ordering() Returns self with any modifications required to reverse the sort order within an order_by call. As an example, an expression implementing NULLS LAST would change its value to be NULLS FIRST. Modifications are only required for expressions that implement sort order like OrderBy. This method is called when reverse() is called on a queryset.

db.models.ForeignKey.to_field

ForeignKey.to_field The field on the related object that the relation is to. By default, Django uses the primary key of the related object.

postgres.fields.RangeField.range_type

range_type The psycopg2 range type to use.

core.validators.int_list_validator()

int_list_validator(sep=', ', message=None, code='invalid', allow_negative=False) [source] New in Django 1.9. Returns a RegexValidator instance that ensures a string consists of integers separated by sep. It allows negative integers when allow_negative is True. Changed in Django 1.10: The allow_negative parameter was added.

admin.InlineModelAdmin.model

InlineModelAdmin.model The model which the inline is using. This is required.

sessions.backends.base.SessionBase.get_expire_at_browser_close()

get_expire_at_browser_close() Returns either True or False, depending on whether the user’s session cookie will expire when the user’s Web browser is closed.

core.files.storage.Storage.accessed_time()

accessed_time(name) [source] Returns a naive datetime object containing the last accessed time of the file. For storage systems that aren’t able to return the last accessed time this will raise NotImplementedError instead. Deprecated since version 1.10: Use get_accessed_time() instead.