diff options
-rw-r--r-- | project/production.py | 2 | ||||
-rw-r--r-- | project/settings.py | 4 | ||||
-rw-r--r-- | project/templates/notifications/activate_mail.html | 2 | ||||
-rw-r--r-- | scripts/scipy_migrate.py | 3 |
4 files changed, 6 insertions, 5 deletions
diff --git a/project/production.py b/project/production.py index 6a91665..1104c24 100644 --- a/project/production.py +++ b/project/production.py @@ -29,8 +29,6 @@ INSTALLED_APPS = ( 'registration', ) -ACCOUNT_ACTIVATION_DAYS = 55 - DATABASE_ENGINE = 'mysql' DATABASE_NAME = 'conference2009' DATABASE_USER = 'root' diff --git a/project/settings.py b/project/settings.py index e52c1bf..4dea6e7 100644 --- a/project/settings.py +++ b/project/settings.py @@ -75,4 +75,6 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.media', 'project.kiwipycon.context_processors.sponsors') -DEFAULT_FROM_EMAIL = 'admin@scip.in'
\ No newline at end of file +DEFAULT_FROM_EMAIL = 'admin@scip.in' + +ACCOUNT_ACTIVATION_DAYS = 55
\ No newline at end of file diff --git a/project/templates/notifications/activate_mail.html b/project/templates/notifications/activate_mail.html index 53e8cde..ea4d54a 100644 --- a/project/templates/notifications/activate_mail.html +++ b/project/templates/notifications/activate_mail.html @@ -1,4 +1,4 @@ -Hello everyone, +Hello {{ name }}, There has been a delay in activating your account since we were still smoothening the organization details for SciPy.in 2009. Apologies for this. This mail describes the steps to complete the registration process diff --git a/scripts/scipy_migrate.py b/scripts/scipy_migrate.py index 65e236e..50c115c 100644 --- a/scripts/scipy_migrate.py +++ b/scripts/scipy_migrate.py @@ -27,7 +27,8 @@ def remind_users(): subject = 'Update and activate your SciPy.in registration.' message = loader.render_to_string( - template, dictionary={'activation_key': reg.activation_key}) + template, dictionary={'activation_key': reg.activation_key, + 'name': reg.user.username}) reg.user.email_user(subject=subject, message=message, from_email='admin@scipy.in') |