Author: brosner
Date: Sun Sep 28 16:27:08 2008
New Revision: 101

Modified:
    trunk/notification/models.py

Log:
Pass the context in get_formatted_messages into the correct argument in  
render_to_string.

Modified: trunk/notification/models.py
==============================================================================
--- trunk/notification/models.py        (original)
+++ trunk/notification/models.py        Sun Sep 28 16:27:08 2008
@@ -219,7 +219,7 @@
          name = format.split(".")[0]
          format_templates[name] = render_to_string((
              'notification/%s/%s' % (label, format),
-            'notification/%s' % format), context)
+            'notification/%s' % format), context_instance=context)
      return format_templates

  def send(users, label, extra_context={}, on_site=True):

--~--~---------~--~----~------------~-------~--~----~
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