# HG changeset patch # User Madhusudan.C.S # Date 1260566053 -19800 # Node ID 959ec5eaafb154a173bd0f8f1198797879512b86 # Parent b078d1833e5893ffc2ca8babb7294d6e5a6a8576 Added last day mail. diff -r b078d1833e58 -r 959ec5eaafb1 project/templates/notifications/last_day_mail.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/project/templates/notifications/last_day_mail.html Sat Dec 12 02:44:13 2009 +0530 @@ -0,0 +1,26 @@ +Hello {{ name }}, + The first edition of the Indian version of SciPy conference, dubbed +SciPy.in 2009 starts from tomorrow. The entire SciPy.in team is +looking forward to meet you all. Thanks for all the response and +enthusiasm you have shown towards the conference. + + The team has updated the website with the final schedule for the +conference. The schedule is available at the URL: +http://scipy.in/talks-cfp/schedule/ + + Please check the website for the schedule posted and stay tuned for +more updates. If you are twitter/indenti.ca savy, the id of the team +is fossee on both twitter and identi.ca. Also, please use the hashtags +#scipy #india or just #scipy. Please don't use #scipy.in because +twitter robs the dots ;-) + + The website is also updated with "How to reach the venue?" and +"Accommodation" details. Please check them. + + Last but not the least, any issue getting to the Techno park or any +help you want regarding SciPy.in 2009, please call me on this number: ++91-9987214220. My name is Madhusudan.C.S + +-- + Thanks, + SciPy.in team diff -r b078d1833e58 -r 959ec5eaafb1 scripts/mails.py --- a/scripts/mails.py Sat Dec 12 02:29:33 2009 +0530 +++ b/scripts/mails.py Sat Dec 12 02:44:13 2009 +0530 @@ -89,6 +89,24 @@ from_email='madhusudancs@gmail.com') +def delegate_last_day(): + """Sends a mail to each confirmed delegate informing + them about the final details. + """ + + regs = Registration.objects.all() + + template = 'notifications/last_day_mail.html' + + for reg in regs: + subject = 'SciPy.in 2009: Schedule and other details' + message = loader.render_to_string( + template, dictionary={'name': reg.registrant.username}) + + reg.registrant.email_user(subject=subject, message=message, + from_email='madhusudancs@gmail.com') + + def speaker_confirmation(): """Sends a mail to each speaker asking for confirmation. """