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