diff options
author | Madhusudan.C.S | 2010-12-10 18:41:40 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2010-12-10 18:41:40 +0530 |
commit | bf68f6defd73ab6b273fa0e97df6b109e37bd6bd (patch) | |
tree | 13d8fcd5d541a3b32a226f8396203e815c99749c /scripts | |
parent | 5ba6145f59f53ff79f85ba9fb6f1fe52fbfe9d70 (diff) | |
download | scipycon-bf68f6defd73ab6b273fa0e97df6b109e37bd6bd.tar.gz scipycon-bf68f6defd73ab6b273fa0e97df6b109e37bd6bd.tar.bz2 scipycon-bf68f6defd73ab6b273fa0e97df6b109e37bd6bd.zip |
Email to be sent to participants about contact details and registration updates just before finals.
--HG--
extra : rebase_source : c3c9443c4c0eea87c14ebf8bb8b4403eb591036e
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mails.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/mails.py b/scripts/mails.py index 5e263a7..a15baa8 100644 --- a/scripts/mails.py +++ b/scripts/mails.py @@ -10,11 +10,19 @@ __authors__ = [ from django.template import loader from django.contrib.auth.models import User +from django.utils.translation import ugettext from project.scipycon.registration.models import Registration from project.scipycon.talk.models import Talk +DEF_REMAINDER_REGISTRATION_PAGE_SUBJECT = ugettext( + 'SciPy.in 2010: Registration updates required for confirmation') + +DEF_REMAINDER_ACCO_CONTACT_SUBJECT = ugettext( + 'SciPy.in 2010: Contact details, registration page and other updates') + + def speaker_accepted(): """Sends a mail to each speaker whose talk has been accepted informing them about the same. @@ -60,7 +68,7 @@ def delegate_remainder(template=None): regs = Registration.objects.all() for reg in regs: - subject = 'SciPy.in 2010: Registration updates required for confirmation' + subject = DEF_REMAINDER_ACCO_CONTACT_SUBJECT message = loader.render_to_string( template, dictionary={'name': reg.registrant.get_full_name()}) |