]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/user_messages/context_processors.py
Applies some of the Justin Grant's patches.
[osqa.git] / forum / user_messages / context_processors.py
index 2bf2626981c530d51ac06c59c8543e97decc5899..5f7b857c043cbb46eefc300a551603a6317c590c 100644 (file)
@@ -17,6 +17,9 @@ def user_messages (request):
     #if request.user.is_authenticated():
     #else:
     #    messages = LazyMessages(request)
     #if request.user.is_authenticated():
     #else:
     #    messages = LazyMessages(request)
+    #import inspect
+    #print inspect.stack()[1]
+    #print messages
     return { 'user_messages': messages }
 
 class LazyMessages (StrAndUnicode):
     return { 'user_messages': messages }
 
 class LazyMessages (StrAndUnicode):