scripts/scipy_migrate.py
changeset 22 2294c71a61ea
parent 21 127b772a3af4
child 23 3cb3f853a193
--- a/scripts/scipy_migrate.py	Wed Nov 11 12:55:39 2009 +0530
+++ b/scripts/scipy_migrate.py	Wed Nov 11 15:28:46 2009 +0530
@@ -25,8 +25,9 @@
 
     for reg in regs:
 
-        subject = "Update and activate your SciPy.in registration."
+        subject = 'Update and activate your SciPy.in registration.'
         message = loader.render_to_string(
             template, dictionary={'activation_key': reg.activation_key})
 
-        reg.user.email_user(subject=subject, message=message)
+        reg.user.email_user(subject=subject, message=message,
+                            from_email='admin@scipy.in')