scripts/mails.py
author Puneeth Chaganti <punchagan@fossee.in>
Fri, 19 Nov 2010 00:17:05 +0530
changeset 284 291f4bb93888
parent 278 2ea8af6851c9
child 359 9640495f5097
permissions -rw-r--r--
Changed year in scripts/mails.py.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
"""Helper script to send emails to the users to remind of the
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
registration and inform them to complete their profiles and stuff.
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
"""
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
__authors__ = [
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
  '"Madhusudan.C.S" <madhusudancs@gmail.com>',
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
  ]
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
from django.template import loader
48
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    12
from django.contrib.auth.models import User
42
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
96
178b89a3ca4f Removed unwanted files and made more changes to make SciPyCon a clean app.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 82
diff changeset
    14
from project.scipycon.registration.models import Registration
178b89a3ca4f Removed unwanted files and made more changes to make SciPyCon a clean app.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 82
diff changeset
    15
from project.scipycon.talk.models import Talk
42
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
def speaker_accepted():
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
    """Sends a mail to each speaker whose talk has been accepted
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
    informing them about the same.
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
    """
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
    talks = Talk.objects.all()
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
    template = 'notifications/speaker_accepted_mail.html'
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
    for talk in talks:
284
291f4bb93888 Changed year in scripts/mails.py.
Puneeth Chaganti <punchagan@fossee.in>
parents: 278
diff changeset
    28
        subject = 'Your talk has been selected for SciPy.in 2010!'
42
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
        message = loader.render_to_string(
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
            template, dictionary={'name': talk.speaker.username,
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
                                  'title': talk.title})
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
        talk.speaker.email_user(subject=subject, message=message,
efacdf0cd268 Added template which sends the accepted speakes a mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    34
                                from_email='admin@scipy.in')
44
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    35
45
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    36
44
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    37
def speaker_sponsorship():
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    38
    """Sends a mail to each speaker whose talk has been accepted
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    39
    informing them about the their sponsorship.
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    40
    """
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    41
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    42
    talks = Talk.objects.all()
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    43
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    44
    template = 'notifications/speaker_sponsorship_mail.html'
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    45
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    46
    for talk in talks:
284
291f4bb93888 Changed year in scripts/mails.py.
Puneeth Chaganti <punchagan@fossee.in>
parents: 278
diff changeset
    47
        subject = 'Details regarding your travel and accommodation for SciPy.in 2010'
44
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    48
        message = loader.render_to_string(
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    49
            template, dictionary={'name': talk.speaker.username,
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    50
                                  'title': talk.title})
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    51
c390adb66ba6 Sponsorship for speakers mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 42
diff changeset
    52
        talk.speaker.email_user(subject=subject, message=message,
45
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    53
                                from_email='admin@scipy.in')
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    54
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    55
278
2ea8af6851c9 Modify the delegate_remainder function to send mails for the registered user and add content for registration update mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    56
def delegate_remainder(template=None):
2ea8af6851c9 Modify the delegate_remainder function to send mails for the registered user and add content for registration update mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    57
    """Sends a mail to each delegate about the template content specified.
45
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    58
    """
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    59
278
2ea8af6851c9 Modify the delegate_remainder function to send mails for the registered user and add content for registration update mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    60
    regs = Registration.objects.all()
45
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    61
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    62
    for reg in regs:
278
2ea8af6851c9 Modify the delegate_remainder function to send mails for the registered user and add content for registration update mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    63
        subject = 'SciPy.in 2010: Registration updates required for confirmation'
45
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    64
        message = loader.render_to_string(
278
2ea8af6851c9 Modify the delegate_remainder function to send mails for the registered user and add content for registration update mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    65
            template, dictionary={'name': reg.registrant.get_full_name()})
45
a7cb2566be42 Delegate remainder mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 44
diff changeset
    66
278
2ea8af6851c9 Modify the delegate_remainder function to send mails for the registered user and add content for registration update mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    67
        reg.registrant.email_user(subject=subject, message=message,
2ea8af6851c9 Modify the delegate_remainder function to send mails for the registered user and add content for registration update mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    68
                                  from_email='info@scipy.in')
48
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    69
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    70
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    71
def delegate_about_event():
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    72
    """Sends a mail to each confirmed delegate informing
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    73
    them about the the individual events.
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    74
    """
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    75
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    76
    regs = Registration.objects.all()
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    77
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    78
    template = 'notifications/sprints_about_mail.html'
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    79
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    80
    for reg in regs:
284
291f4bb93888 Changed year in scripts/mails.py.
Puneeth Chaganti <punchagan@fossee.in>
parents: 278
diff changeset
    81
        subject = 'SciPy.in 2010: Details of the individual events'
48
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    82
        message = loader.render_to_string(
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    83
            template, dictionary={'name': reg.registrant.username})
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    84
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    85
        reg.registrant.email_user(subject=subject, message=message,
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    86
                                  from_email='madhusudancs@gmail.com')
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    87
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
    88
61
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    89
def delegate_last_day():
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    90
    """Sends a mail to each confirmed delegate informing
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    91
    them about the final details.
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    92
    """
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    93
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    94
    regs = Registration.objects.all()
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    95
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    96
    template = 'notifications/last_day_mail.html'
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    97
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
    98
    for reg in regs:
284
291f4bb93888 Changed year in scripts/mails.py.
Puneeth Chaganti <punchagan@fossee.in>
parents: 278
diff changeset
    99
        subject = 'SciPy.in 2010: Schedule and other details'
61
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
   100
        message = loader.render_to_string(
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
   101
            template, dictionary={'name': reg.registrant.username})
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
   102
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
   103
        reg.registrant.email_user(subject=subject, message=message,
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
   104
                                  from_email='madhusudancs@gmail.com')
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
   105
959ec5eaafb1 Added last day mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 48
diff changeset
   106
48
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   107
def speaker_confirmation():
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   108
    """Sends a mail to each speaker asking for confirmation.
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   109
    """
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   110
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   111
    talks = Talk.objects.all()
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   112
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   113
    template = 'notifications/speaker_confirmation_mail.html'
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   114
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   115
    for talk in talks:
284
291f4bb93888 Changed year in scripts/mails.py.
Puneeth Chaganti <punchagan@fossee.in>
parents: 278
diff changeset
   116
        subject = 'SciPy.in 2010: Requesting for confirmation of your talk'
48
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   117
        message = loader.render_to_string(
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   118
            template, dictionary={'name': talk.speaker.username,
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   119
                                  'title': talk.title})
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   120
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   121
        talk.speaker.email_user(subject=subject, message=message,
bb835205604b Summary of individual events mail to all users.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 47
diff changeset
   122
                                from_email='admin@scipy.in')
82
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   123
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   124
def proceedings_detail():
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   125
    """Sends a mail to each speaker informing them about proceedings
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   126
    """
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   127
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   128
    talks = Talk.objects.all()
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   129
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   130
    template = 'notifications/proceedings_detail_mail.html'
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   131
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   132
    for talk in talks:
284
291f4bb93888 Changed year in scripts/mails.py.
Puneeth Chaganti <punchagan@fossee.in>
parents: 278
diff changeset
   133
        subject = 'SciPy.in 2010 Proceedings'
82
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   134
        message = loader.render_to_string(
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   135
            template, dictionary={'name': talk.speaker.username})
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   136
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   137
        talk.speaker.email_user(subject=subject, message=message,
a123369b0901 Proceedings details mail.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 61
diff changeset
   138
                                from_email='admin@scipy.in')