Permalink
Browse files

Added the user to the context of a notification template.

git-svn-id: https://django-notification.googlecode.com/svn/trunk@95 590c3fc9-4838-0410-bb95-17a0c9b37ca9
  • Loading branch information...
1 parent 50fed30 commit 3aaccc85d080a0c3a282a891a058beadfa42e25e @brosner brosner committed Sep 13, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 notification/models.py
View
@@ -232,6 +232,7 @@ def send(recipient, label, extra_context={}, issue_notice=True):
# update context with user specific translations
context = Context({
+ "user": user,
"notice": ugettext(notice_type.display),
"notices_url": notices_url,
"current_site": current_site,

0 comments on commit 3aaccc8

Please sign in to comment.