GO AWAY!
This commit is contained in:
parent
2cd26f0d0e
commit
3fed406be5
1 changed files with 1 additions and 2 deletions
|
@ -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']]
|
||||
|
|
Loading…
Reference in a new issue