Issue 18: inbox_count traceback
http://code.google.com/p/django-messages/issues/detail?id=18

Comment #1 by [EMAIL PROTECTED]:
This may happen, if the the page is viewed by an anonymous user and/or the
context-processor django.core.context_processors.auth is not used (i.e. not  
in
settings.TEMPLATE_CONTEXT_PROCESSORS, but it is there by default)

Wrapping the {% inbox_count %} in an {% if user.is_authenticated %}...  
should fix it.

Nevertheless I will commit a fix, which will output 'n/a' instead of the  
Traceback.


Issue attribute updates:
        Status: Accepted
        Owner: [EMAIL PROTECTED]

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to