<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -323,8 +323,10 @@ class CommentModerator(object):
         recipient_list = [manager_tuple[1] for manager_tuple in settings.MANAGERS]
         t = loader.get_template('comment_utils/comment_notification_email.txt')
         c = Context({ 'comment': comment,
-                      'content_object': content_object })
-        subject = '[%s] New comment posted on &quot;%s&quot;' % (Site.objects.get_current().name,
+                      'content_object': content_object,
+                      'site': Site.objects.get_current(),
+                      })
+        subject = '[%s] Comment: &quot;%s&quot;' % (Site.objects.get_current().name,
                                                           content_object)
         message = t.render(c)
         send_mail(subject, message, settings.DEFAULT_FROM_EMAIL, recipient_list, fail_silently=True)
@@ -452,7 +454,7 @@ class Moderator(object):
         
         &quot;&quot;&quot;
         signals.pre_save.connect(self.pre_save_moderation, sender=comments.get_model())
-        signals.pre_save.connect(self.post_save_moderation, sender=comments.get_model())
+        signals.post_save.connect(self.post_save_moderation, sender=comments.get_model())
     
     def register(self, model_or_iterable, moderation_class):
         &quot;&quot;&quot;</diff>
      <filename>comment_utils/moderation.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9581c1acf6d2c91ff20b6d50b101f996d5b120a4</id>
    </parent>
  </parents>
  <author>
    <name>James Turnbull</name>
    <email>jcdt@Thor.lan</email>
  </author>
  <url>http://github.com/jezdez/django-comment-utils/commit/b16e8579b89ddb47bc323dd7fc6587ce46437f07</url>
  <id>b16e8579b89ddb47bc323dd7fc6587ce46437f07</id>
  <committed-date>2008-10-23T06:54:45-07:00</committed-date>
  <authored-date>2008-10-23T06:54:45-07:00</authored-date>
  <message>Corrected the signals section to use post_save in the appropriate place.

Also added site to the email context</message>
  <tree>eff2a7f25edc1433ce8c05fd33ef1b6da83f315e</tree>
  <committer>
    <name>James Turnbull</name>
    <email>jcdt@Thor.lan</email>
  </committer>
</commit>
