main.auth_viewsΒΆ

View functions geared toward user authentication. All views, except auth views and the index view, should be considered to check for a valid and authenticated user. If one is not found, they will direct to the appropriate error page.

Functions

all_locked(request)

Response for cases where a page requires an authenticated user with elevated privileges.

change_password(request)

Handle requests to change passwords for the AUTH_USER model.

login_view(request)

Handles authenticating existing users.

logout_view(request)

Handles logout.

not_logged_in(request)

Response for cases where a page requires an authenticated user with elevated privileges.

permission_denied(request)

Response on pages that require higher privileges than the requesting user holds.

please_register(request)

Response for cases where a page requires any general authenticated user.

register(request)

Allows new user registration.

required_change_password(request)

Handle requests to change passwords for the AUTH_USER model.

thank_you_for_registering(request)

Registration success return_response.