Commits

Matthew Schinckel  committed 8d43c85

Having an issue with logging not being there, even though I know it is.

  • Participants
  • Parent commits 55b7a10

Comments (0)

Files changed (1)

File rest_api/auth.py

     return "basic " + ("%s:%s" % (username, password)).encode('base64')
 
 def _masquerade(request):
+    import logging
     if request.META.get('HTTP_X_MASQUERADE_AS', False):
         if request.user.is_superuser:
             if request.user.username != request.META.get('HTTP_X_MASQUERADE_AS'):