Exemple #1
0
 def is_admin(self):
     return is_admin(self.request)
Exemple #2
0
 def is_admin(self):
     return is_admin(self.request)
Exemple #3
0
def _build_response(request):
    return {
        'logged_in': authenticated_userid(request),
        'is_admin': is_admin(request)
    }
Exemple #4
0
def _build_response(request):
    return {
        'logged_in': authenticated_userid(request),
        'is_admin': is_admin(request)
    }
Exemple #5
0
def _build_response(request):
    return {"logged_in": authenticated_userid(request), "is_admin": is_admin(request)}