|
@ -4,12 +4,14 @@ class Admin: |
|
|
def __init__(self): |
|
|
def __init__(self): |
|
|
return |
|
|
return |
|
|
|
|
|
|
|
|
|
|
|
# admin user is always authenticated for everything so it's a constant |
|
|
def is_authenticated(self): |
|
|
def is_authenticated(self): |
|
|
return True |
|
|
return True |
|
|
|
|
|
|
|
|
def is_active(self): |
|
|
def is_active(self): |
|
|
return True |
|
|
return True |
|
|
|
|
|
|
|
|
|
|
|
# we don't have anonymous users on this site |
|
|
def is_anonymous(self): |
|
|
def is_anonymous(self): |
|
|
return False |
|
|
return False |
|
|
|
|
|
|
|
|