diff options
Diffstat (limited to 'devel/views.py')
-rw-r--r-- | devel/views.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/views.py b/devel/views.py index 0b9f8f18..7be3dc17 100644 --- a/devel/views.py +++ b/devel/views.py @@ -6,6 +6,7 @@ from string import ascii_letters, digits import time from django import forms +from django.conf import settings from django.http import HttpResponseRedirect from django.contrib.auth.decorators import \ login_required, permission_required, user_passes_test @@ -319,9 +320,9 @@ class NewUserForm(forms.ModelForm): 'password': password, }) - send_mail("Your new parabolaweb account", + send_mail("Your new "+settings.BRANDING_APPNAME+" account", template.render(ctx), - 'Parabola <dev@lists.parabolagnulinux.org>', + settings.BRANDING_EMAIL, [user.email], fail_silently=False) |