diff options
author | Dan McGee <dan@archlinux.org> | 2010-10-18 22:00:38 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-18 22:00:44 +0200 |
commit | 778146cf61fa45220f5c185f44a39353b65eac73 (patch) | |
tree | a3ca1f2929652733ce7251d944652dbeb3b39230 /packages | |
parent | c6f69b3582539ed709364bdea1e1291e8fd57fc7 (diff) | |
download | archweb-778146cf61fa45220f5c185f44a39353b65eac73.tar.gz archweb-778146cf61fa45220f5c185f44a39353b65eac73.tar.xz |
Move hardcoded email address to settings file
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/views.py b/packages/views.py index 60867d1..40e8a08 100644 --- a/packages/views.py +++ b/packages/views.py @@ -1,5 +1,6 @@ from django import forms from django.contrib import messages +from django.conf import settings from django.core.mail import send_mail from django.template import loader, Context, RequestContext from django.http import HttpResponse, Http404 @@ -311,7 +312,7 @@ def flag(request, name='', repo='', arch=''): maints = pkg.maintainers if not maints: - toemail = ['arch-notifications@archlinux.org'] + toemail = settings.NOTIFICATIONS subject = 'Orphan %s package [%s] marked out-of-date' % \ (pkg.repo.name, pkg.pkgname) else: |