diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-31 00:16:18 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-05-31 00:16:18 -0400 |
commit | 0812271c54dd38a2034bfe42832a5372f28e404d (patch) | |
tree | b5670d12af35bcd552df6e6890f7a361aa3df6ec /askbot/tasks.py | |
parent | eff58f74b06e581c787500c7303f26cccce565f2 (diff) | |
download | askbot-0812271c54dd38a2034bfe42832a5372f28e404d.tar.gz askbot-0812271c54dd38a2034bfe42832a5372f28e404d.tar.bz2 askbot-0812271c54dd38a2034bfe42832a5372f28e404d.zip |
moved formatting of emailed post contents to template
Diffstat (limited to 'askbot/tasks.py')
-rw-r--r-- | askbot/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/tasks.py b/askbot/tasks.py index f12290aa..da07477b 100644 --- a/askbot/tasks.py +++ b/askbot/tasks.py @@ -83,7 +83,7 @@ def notify_author_of_published_revision_celery_task(revision): headers = {'Reply-To': append_content_address} #send the message mail.send_mail( - subject_line = _('Your post at %(site_name)s was approved') % data, + subject_line = _('Your post at %(site_name)s is now published') % data, body_text = template.render(Context(data)), recipient_list = [revision.author.email,], related_object = revision, |