equal
deleted
inserted
replaced
87 |
87 |
88 reg.registrant.email_user(subject=subject, message=message, |
88 reg.registrant.email_user(subject=subject, message=message, |
89 from_email='madhusudancs@gmail.com') |
89 from_email='madhusudancs@gmail.com') |
90 |
90 |
91 |
91 |
|
92 def delegate_last_day(): |
|
93 """Sends a mail to each confirmed delegate informing |
|
94 them about the final details. |
|
95 """ |
|
96 |
|
97 regs = Registration.objects.all() |
|
98 |
|
99 template = 'notifications/last_day_mail.html' |
|
100 |
|
101 for reg in regs: |
|
102 subject = 'SciPy.in 2009: Schedule and other details' |
|
103 message = loader.render_to_string( |
|
104 template, dictionary={'name': reg.registrant.username}) |
|
105 |
|
106 reg.registrant.email_user(subject=subject, message=message, |
|
107 from_email='madhusudancs@gmail.com') |
|
108 |
|
109 |
92 def speaker_confirmation(): |
110 def speaker_confirmation(): |
93 """Sends a mail to each speaker asking for confirmation. |
111 """Sends a mail to each speaker asking for confirmation. |
94 """ |
112 """ |
95 |
113 |
96 talks = Talk.objects.all() |
114 talks = Talk.objects.all() |