module documentation

Undocumented

Function staff​_member​_required Decorator for views that checks that the user is logged in and is a staff member, redirecting to the login page if necessary.
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.