From: Jeremy Kerr Date: Fri, 22 Aug 2008 03:17:59 +0000 (+0800) Subject: Use DEFAULT_FROM_EMAIL rather than PATCHWORK_FROM_EMAIL X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=6c05b0fcd8cdaaeadc5de7c3d575dd3be88e43d4;p=patchwork Use DEFAULT_FROM_EMAIL rather than PATCHWORK_FROM_EMAIL Signed-off-by: Jeremy Kerr --- diff --git a/apps/patchwork/views/user.py b/apps/patchwork/views/user.py index 4a34414..19091d3 100644 --- a/apps/patchwork/views/user.py +++ b/apps/patchwork/views/user.py @@ -75,7 +75,7 @@ def link(request): send_mail('Patchwork email address confirmation', render_to_string('patchwork/user-link.mail', context), - settings.PATCHWORK_FROM_EMAIL, + settings.DEFAULT_FROM_EMAIL, [form.cleaned_data['email']]) conf.save() except Exception, ex: diff --git a/apps/settings.py b/apps/settings.py index 8b33182..719b9d1 100644 --- a/apps/settings.py +++ b/apps/settings.py @@ -94,6 +94,6 @@ INSTALLED_APPS = ( ) DEFAULT_PATCHES_PER_PAGE = 100 -PATCHWORK_FROM_EMAIL = 'Patchwork ' +DEFAULT_FROM_EMAIL = 'Patchwork ' ACCOUNT_ACTIVATION_DAYS = 7