summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-03-27 10:10:08 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-03-27 10:10:08 -0400
commitb4cf5bbafdda1b8f8fb4f51e6c961ffbbfe992d1 (patch)
treeeb8731a6c56a1c8766d5b6bc3e75ce90cc998db3 /devel
parentdb0519771d3a3a977439f905c281274630e0f607 (diff)
Pull references to Arch Linux in code into BRANDING_ variables in settings
This does not include templates
Diffstat (limited to 'devel')
-rw-r--r--devel/views.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/views.py b/devel/views.py
index d2ce65db..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 archweb account",
+ send_mail("Your new "+settings.BRANDING_APPNAME+" account",
template.render(ctx),
- 'Arch Website Notification <nobody@archlinux.org>',
+ settings.BRANDING_EMAIL,
[user.email],
fail_silently=False)