Made some typo fixes to delegate reminder mail.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Sat, 05 Dec 2009 10:12:39 +0530
changeset 47 668e7e0881b6
parent 46 971ba6d7a529
child 48 bb835205604b
Made some typo fixes to delegate reminder mail.
project/templates/notifications/reminder_mail.html
scripts/mails.py
--- a/project/templates/notifications/reminder_mail.html	Sat Dec 05 10:02:10 2009 +0530
+++ b/project/templates/notifications/reminder_mail.html	Sat Dec 05 10:12:39 2009 +0530
@@ -1,15 +1,16 @@
 Hello {{ name }},
-  The first edition of the Indian SciPy conference, SciPy.in 2009 is
-fast approaching and we are all excited. The response for the confe-
-rence so far has been overwhelming. Thank you for your enthusiasm
-and making this possible. Some important details regarding SciPy.in.
+  The first edition of the Indian version of SciPy conference, dubbed
+SciPy.in 2009 is fast approaching and we are all excited. The response
+for the conference so far has been overwhelming. Thank you for your
+enthusiasm and making this possible. Some important details regarding
+SciPy.in 2009 are given below:
 
 1. We got a few complaints before that some of them never received
 the activation mail. But indeed we realized later that the mails
 were sent to spam for some of them. So I am intentionally sending
-this from my gmail ID. So, please add admin@scipy.in to your 
-trusted contacts list. All further communication will be done
-through that email ID.
+this from my gmail ID. Please add admin@scipy.in to your trusted
+contacts list. All further communication will be done through that
+email ID.
 
 2. If you have any queries regarding SciPy.in 2009 conference or
 the SciPy.in website, please send a mail to admin@scipy.in.
@@ -18,7 +19,7 @@
 activate your accounts as instructed in the Activation mail sent or
 you haven't received the activation mail, please send a request to
 admin@scipy.in to get the account activated. After activating the
-account please follow in the instructions in point 4, below.
+account please follow the instructions in point 5, below.
 
 4. By now you would have known that there is a registration fee for
 SciPy.in conference. If not here are the details. We are charging a
@@ -34,7 +35,7 @@
 fill in the relevant details. This information is required for us to
 conduct SciPy.in 2009 smoothly. Without this, your registration is
 incomplete and we are sorry to tell you that it will be not be
-possible for us to accommodate you for the conference. 
+possible for us to accommodate you for the conference.
 
 6. Optionally you can click on "Edit Profile" link at the top of the
 page once you login and fill in your bio in that form.
@@ -44,9 +45,8 @@
 but it will appear on the left panel soonish, stay tuned. In addition
 to that if you are twitter-savy you can start following us on twitter
 at "fossee".
- 
+
 
 --
  Thanks,
  SciPy Team
- 
\ No newline at end of file
--- 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