summaryrefslogtreecommitdiff
path: root/scripts/mails.py
diff options
context:
space:
mode:
authorMadhusudan.C.S2009-12-05 10:12:39 +0530
committerMadhusudan.C.S2009-12-05 10:12:39 +0530
commitae0fac63b6f626dc69f5b1c7d0d8aa10025cc970 (patch)
treecf94d0c2d2ed3b72ee01a11e1d3af083ecb8799a /scripts/mails.py
parent1f4cb22425ef1fe69fb089b5ac15dce124d93bfa (diff)
downloadscipycon-ae0fac63b6f626dc69f5b1c7d0d8aa10025cc970.tar.gz
scipycon-ae0fac63b6f626dc69f5b1c7d0d8aa10025cc970.tar.bz2
scipycon-ae0fac63b6f626dc69f5b1c7d0d8aa10025cc970.zip
Made some typo fixes to delegate reminder mail.
Diffstat (limited to 'scripts/mails.py')
-rw-r--r--scripts/mails.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/mails.py b/scripts/mails.py
index 4af04b9..95ad5fc 100644
--- a/scripts/mails.py
+++ b/scripts/mails.py
@@ -59,12 +59,12 @@ def delegate_remainder():
regs = User.objects.all()
- template = 'notifications/remainder_mail.html'
+ template = 'notifications/reminder_mail.html'
for reg in regs:
subject = 'SciPy.in 2009: Remainder and details'
message = loader.render_to_string(
- template, dictionary={'name': reg.user.username})
+ template, dictionary={'name': reg.username})
- reg.user.email_user(subject=subject, message=message,
- from_email='madhusudancs@gmail.com') \ No newline at end of file
+ reg.email_user(subject=subject, message=message,
+ from_email='madhusudancs@gmail.com') \ No newline at end of file