1
0
Fork 0
This commit is contained in:
Benni Bärmann 2020-11-09 12:42:29 +01:00
parent 2cd26f0d0e
commit 3fed406be5
1 changed files with 1 additions and 2 deletions

View File

@ -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']]