equal
deleted
inserted
replaced
23 |
23 |
24 template = 'notifications/activate_mail.html' |
24 template = 'notifications/activate_mail.html' |
25 |
25 |
26 for reg in regs: |
26 for reg in regs: |
27 |
27 |
28 subject = "Update and activate your SciPy.in registration." |
28 subject = 'Update and activate your SciPy.in registration.' |
29 message = loader.render_to_string( |
29 message = loader.render_to_string( |
30 template, dictionary={'activation_key': reg.activation_key}) |
30 template, dictionary={'activation_key': reg.activation_key}) |
31 |
31 |
32 reg.user.email_user(subject=subject, message=message) |
32 reg.user.email_user(subject=subject, message=message, |
|
33 from_email='admin@scipy.in') |