Django
1.0
▾ django
▸ __main__
▸ apps
▸ bin
▸ conf
▾ contrib
▸ admin
▸ admindocs
▾ auth
▸ admin
▸ apps
▸ backends
▸ base_user
▸ checks
▸ context_processors
▸ decorators
▸ forms
▸ handlers
▸ hashers
▸ management
▸ middleware
▸ migrations
▸ mixins
▸ models
▸ password_validation
▸ signals
▸ tokens
▸ urls
▸ validators
▾ views
class
LoginView
class
LogoutView
class
PasswordChangeDoneView
class
PasswordChangeView
class
PasswordContextMixin
class
PasswordResetCompleteView
class
PasswordResetConfirmView
class
PasswordResetDoneView
class
PasswordResetView
class
SuccessURLAllowedHostsMixin
▸ contenttypes
▸ flatpages
▸ gis
▸ humanize
▸ messages
▸ postgres
▸ redirects
▸ sessions
▸ sitemaps
▸ sites
▸ staticfiles
▸ syndication
▸ core
▸ db
▸ dispatch
▸ forms
▸ http
▸ middleware
▸ shortcuts
▸ template
▸ templatetags
▸ test
▸ urls
▸ utils
▸ views
Module views
django
.
contrib
.
auth
.
views
source
link
Classes
class
LoginView
Display the login form and handle the login action.
class
LogoutView
Log out the user and display the 'You are logged out' message.
class
PasswordChangeDoneView
class
PasswordChangeView
class
PasswordContextMixin
class
PasswordResetCompleteView
class
PasswordResetConfirmView
class
PasswordResetDoneView
class
PasswordResetView
class
SuccessURLAllowedHostsMixin
Functions
▷
def
logout_then_login
(
request, login_url=None
)
Log out the user if they are logged in. Then redirect to the login page.
source
link
▶
def
redirect_to_login
(
next, login_url=None, redirect_field_name=REDIRECT_FIELD_NAME
)
Redirect the user to the login page, passing the given 'next' page.
source
link
Reexports
Imported in
django.contrib.auth.mixins
.
Generated by
nedoc
v0.9 at 2020-12-29 14:04