From 3fed406be5d2e4187cbd279d4aa20b4d6331d243 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Mon, 9 Nov 2020 12:42:29 +0100 Subject: [PATCH] GO AWAY! --- input/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/input/views.py b/input/views.py index 6415c19..4160530 100644 --- a/input/views.py +++ b/input/views.py @@ -16,7 +16,6 @@ from .forms import ProjectForm, ExternForm, LibraryForm, IFGForm, LiteratureForm ListForm, BusinessCardForm, INTERN_CHOICES from .models import Project, TYPE_CHOICES, Library, Literature from .settings import IF_EMAIL -from settings import URLPREFIX def auth_deny(choice,pk,auth): if choice in ('BIB', 'ELIT', 'SOFT'): @@ -168,7 +167,7 @@ class ExternView(CookieWizardView): # add some data to context for mail templates data['pk'] = form.pk - data['urlprefix'] = URLPREFIX + data['urlprefix'] = settings.URLPREFIX data['grant'] = ('LIT', 'SOFT', 'ELIT', 'BIB', 'IFG') data['DOMAIN'] = ('MAIL', 'LIST') data['typestring'] = TYPE_CHOICES[data['choice']]