(request, view, obj=None)
return request.user.is_staff
Checks if the current user is a staff member.
Checks if the current user is a staff member.
Checks if the current user is a staff member .
def is_staff(request, view, obj=None):
    '''
    Checks if the current user is a staff member.
    '''
    return request.user.is_staff
def is_staff ( request , view , obj = None ) : return request . user . is_staff