Django
1.0
▾ django
▸ __main__
▸ apps
▸ bin
▸ conf
▾ contrib
▾ admin
▸ actions
▸ apps
▸ checks
▸ decorators
▸ exceptions
▸ filters
▸ forms
▸ helpers
▸ migrations
▸ models
▸ options
▸ sites
▸ templatetags
▸ tests
▸ utils
▾ views
▸ autocomplete
▾ decorators
▸ main
▸ widgets
▸ admindocs
▸ auth
▸ 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 decorators
django
.
contrib
.
admin
.
views
.
decorators
source
link
Functions
▶
def
staff_member_required
(
view_func=None, redirect_field_name=REDIRECT_FIELD_NAME, login_url='admin:login'
)
Decorator for views that checks that the user is logged in and is a staff member, redirecting to the login page if necessary.
source
link
Reexports
Imported in
django.contrib.admindocs.views
.
Generated by
nedoc
v0.9 at 2020-12-29 14:04