newauth.views¶
-
newauth.views.
login
(request, next_page=None, template_name='registration/login.html', redirect_field_name='next', authentication_form=<class 'newauth.forms.BasicAuthForm'>)¶ Displays the login form and handles the login action.
-
newauth.views.
logout
(request, next_page=None, template_name='registration/logged_out.html', redirect_field_name='next')¶ Logs out the user and displays ‘You are logged out’ message.