--- a/scripts/mails.py Sat Dec 05 10:02:10 2009 +0530
+++ b/scripts/mails.py Sat Dec 05 10:12:39 2009 +0530
@@ -59,12 +59,12 @@
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