equal
deleted
inserted
replaced
23 talks = Talk.objects.all() |
23 talks = Talk.objects.all() |
24 |
24 |
25 template = 'notifications/speaker_accepted_mail.html' |
25 template = 'notifications/speaker_accepted_mail.html' |
26 |
26 |
27 for talk in talks: |
27 for talk in talks: |
28 subject = 'Your talk has been selected for SciPy.in 2009!' |
28 subject = 'Your talk has been selected for SciPy.in 2010!' |
29 message = loader.render_to_string( |
29 message = loader.render_to_string( |
30 template, dictionary={'name': talk.speaker.username, |
30 template, dictionary={'name': talk.speaker.username, |
31 'title': talk.title}) |
31 'title': talk.title}) |
32 |
32 |
33 talk.speaker.email_user(subject=subject, message=message, |
33 talk.speaker.email_user(subject=subject, message=message, |
42 talks = Talk.objects.all() |
42 talks = Talk.objects.all() |
43 |
43 |
44 template = 'notifications/speaker_sponsorship_mail.html' |
44 template = 'notifications/speaker_sponsorship_mail.html' |
45 |
45 |
46 for talk in talks: |
46 for talk in talks: |
47 subject = 'Details regarding your travel and accommodation for SciPy.in 2009' |
47 subject = 'Details regarding your travel and accommodation for SciPy.in 2010' |
48 message = loader.render_to_string( |
48 message = loader.render_to_string( |
49 template, dictionary={'name': talk.speaker.username, |
49 template, dictionary={'name': talk.speaker.username, |
50 'title': talk.title}) |
50 'title': talk.title}) |
51 |
51 |
52 talk.speaker.email_user(subject=subject, message=message, |
52 talk.speaker.email_user(subject=subject, message=message, |
76 regs = Registration.objects.all() |
76 regs = Registration.objects.all() |
77 |
77 |
78 template = 'notifications/sprints_about_mail.html' |
78 template = 'notifications/sprints_about_mail.html' |
79 |
79 |
80 for reg in regs: |
80 for reg in regs: |
81 subject = 'SciPy.in 2009: Details of the individual events' |
81 subject = 'SciPy.in 2010: Details of the individual events' |
82 message = loader.render_to_string( |
82 message = loader.render_to_string( |
83 template, dictionary={'name': reg.registrant.username}) |
83 template, dictionary={'name': reg.registrant.username}) |
84 |
84 |
85 reg.registrant.email_user(subject=subject, message=message, |
85 reg.registrant.email_user(subject=subject, message=message, |
86 from_email='madhusudancs@gmail.com') |
86 from_email='madhusudancs@gmail.com') |
94 regs = Registration.objects.all() |
94 regs = Registration.objects.all() |
95 |
95 |
96 template = 'notifications/last_day_mail.html' |
96 template = 'notifications/last_day_mail.html' |
97 |
97 |
98 for reg in regs: |
98 for reg in regs: |
99 subject = 'SciPy.in 2009: Schedule and other details' |
99 subject = 'SciPy.in 2010: Schedule and other details' |
100 message = loader.render_to_string( |
100 message = loader.render_to_string( |
101 template, dictionary={'name': reg.registrant.username}) |
101 template, dictionary={'name': reg.registrant.username}) |
102 |
102 |
103 reg.registrant.email_user(subject=subject, message=message, |
103 reg.registrant.email_user(subject=subject, message=message, |
104 from_email='madhusudancs@gmail.com') |
104 from_email='madhusudancs@gmail.com') |
111 talks = Talk.objects.all() |
111 talks = Talk.objects.all() |
112 |
112 |
113 template = 'notifications/speaker_confirmation_mail.html' |
113 template = 'notifications/speaker_confirmation_mail.html' |
114 |
114 |
115 for talk in talks: |
115 for talk in talks: |
116 subject = 'SciPy.in 2009: Requesting for confirmation of your talk' |
116 subject = 'SciPy.in 2010: Requesting for confirmation of your talk' |
117 message = loader.render_to_string( |
117 message = loader.render_to_string( |
118 template, dictionary={'name': talk.speaker.username, |
118 template, dictionary={'name': talk.speaker.username, |
119 'title': talk.title}) |
119 'title': talk.title}) |
120 |
120 |
121 talk.speaker.email_user(subject=subject, message=message, |
121 talk.speaker.email_user(subject=subject, message=message, |
128 talks = Talk.objects.all() |
128 talks = Talk.objects.all() |
129 |
129 |
130 template = 'notifications/proceedings_detail_mail.html' |
130 template = 'notifications/proceedings_detail_mail.html' |
131 |
131 |
132 for talk in talks: |
132 for talk in talks: |
133 subject = 'SciPy.in 2009 Proceedings' |
133 subject = 'SciPy.in 2010 Proceedings' |
134 message = loader.render_to_string( |
134 message = loader.render_to_string( |
135 template, dictionary={'name': talk.speaker.username}) |
135 template, dictionary={'name': talk.speaker.username}) |
136 |
136 |
137 talk.speaker.email_user(subject=subject, message=message, |
137 talk.speaker.email_user(subject=subject, message=message, |
138 from_email='admin@scipy.in') |
138 from_email='admin@scipy.in') |