Issue 18: inbox_count traceback
http://code.google.com/p/django-messages/issues/detail?id=18
New issue report by corn13read:
What steps will reproduce the problem?
1. {% load inbox %}
2. {% inbox_count %}
What is the expected output? What do you see instead?
I expected to see the count instead I get this traceback:
Original Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/template/debug.py", line
71, in render_node
result = node.render(context)
File
"/home/richard/work/svn/testapp/../testapp/messages/templatetags/inbox.py",
line 5, in render
user = context['user']
File "/usr/lib/python2.5/site-packages/django/template/context.py", line
43, in __getitem__
raise KeyError(key)
KeyError: 'user'
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
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
-~----------~----~----~----~------~----~------~--~---