Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 3aaccc85d080a0c3a282a891a058beadfa42e25e 1 parent 50fed30
@brosner brosner authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  notification/models.py
View
1  notification/models.py
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.