minor changes in validate RFC view
This commit is contained in:
@@ -11,8 +11,6 @@ def Custom_is_staff_function(user):
|
||||
if user.is_staff:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def is_staff_access(view_to_return="index"):
|
||||
def decorator(view):
|
||||
@wraps(view)
|
||||
|
||||
Reference in New Issue
Block a user