auth.mixins.AccessMixin.get_permission_denied_message()

get_permission_denied_message() When raise_exception is True, this method can be used to control the error message passed to the error handler for display to the user. Returns the permission_denied_message attribute by default.

auth.mixins.AccessMixin.get_login_url()

get_login_url() Returns the URL that users who don’t pass the test will be redirected to. Returns login_url if set, or settings.LOGIN_URL otherwise.

views.generic.base.RedirectView.pattern_name

pattern_name The name of the URL pattern to redirect to. Reversing will be done using the same args and kwargs as are passed in for this view.

core.paginator.Page.end_index()

Page.end_index() [source] Returns the 1-based index of the last object on the page, relative to all of the objects in the paginator’s list. For example, when paginating a list of 5 objects with 2 objects per page, the second page’s end_index() would return 4.

gis.gdal.OGRGeometry.srid

srid Returns or sets the spatial reference identifier corresponding to SpatialReference of this geometry. Returns None if there is no spatial reference information associated with this geometry, or if an SRID cannot be determined.

admin.ModelAdmin.view_on_site

ModelAdmin.view_on_site Set view_on_site to control whether or not to display the “View on site” link. This link should bring you to a URL where you can display the saved object. This value can be either a boolean flag or a callable. If True (the default), the object’s get_absolute_url() method will be used to generate the url. If your model has a get_absolute_url() method but you don’t want the “View on site” button to appear, you only need to set view_on_site to False: from django.contrib

db.models.Aggregate.template

template A class attribute, as a format string, that describes the SQL that is generated for this aggregate. Defaults to '%(function)s( %(expressions)s )'.

contenttypes.models.ContentType.name

name The human-readable name of the content type. This is taken from the verbose_name attribute of the model.

test.Response

class Response client The test client that was used to make the request that resulted in the response. content The body of the response, as a bytestring. This is the final page content as rendered by the view, or any error message. context The template Context instance that was used to render the template that produced the response content. If the rendered page used multiple templates, then context will be a list of Context objects, in the order in which they were rendered. Re

auth.models.User.date_joined

date_joined A datetime designating when the account was created. Is set to the current date/time by default when the account is created.