summaryrefslogtreecommitdiff
path: root/coip/apps/userprofile/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'coip/apps/userprofile/utils.py')
-rw-r--r--coip/apps/userprofile/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/coip/apps/userprofile/utils.py b/coip/apps/userprofile/utils.py
index ecbc21a..9636b4f 100644
--- a/coip/apps/userprofile/utils.py
+++ b/coip/apps/userprofile/utils.py
@@ -5,9 +5,12 @@ Created on Jul 6, 2010
'''
from coip.apps.userprofile.models import UserProfile, PKey
from django.core.exceptions import ObjectDoesNotExist
+import logging
+from pprint import pformat
def request_profile(request):
if request.user.is_authenticated():
+ logging.warning(pformat(request.META))
if request.META.has_key('REMOTE_USER'):
return UserProfile.objects.get(identifier=request.META['REMOTE_USER'])
else: