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'): (source)

Decorator for views that checks that the user is logged in and is a staff member, redirecting to the login page if necessary.