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
|
ListForm, BusinessCardForm, INTERN_CHOICES
|
||||||
from .models import Project, TYPE_CHOICES, Library, Literature
|
from .models import Project, TYPE_CHOICES, Library, Literature
|
||||||
from .settings import IF_EMAIL
|
from .settings import IF_EMAIL
|
||||||
from settings import URLPREFIX
|
|
||||||
|
|
||||||
def auth_deny(choice,pk,auth):
|
def auth_deny(choice,pk,auth):
|
||||||
if choice in ('BIB', 'ELIT', 'SOFT'):
|
if choice in ('BIB', 'ELIT', 'SOFT'):
|
||||||
|
@ -168,7 +167,7 @@ class ExternView(CookieWizardView):
|
||||||
|
|
||||||
# add some data to context for mail templates
|
# add some data to context for mail templates
|
||||||
data['pk'] = form.pk
|
data['pk'] = form.pk
|
||||||
data['urlprefix'] = URLPREFIX
|
data['urlprefix'] = settings.URLPREFIX
|
||||||
data['grant'] = ('LIT', 'SOFT', 'ELIT', 'BIB', 'IFG')
|
data['grant'] = ('LIT', 'SOFT', 'ELIT', 'BIB', 'IFG')
|
||||||
data['DOMAIN'] = ('MAIL', 'LIST')
|
data['DOMAIN'] = ('MAIL', 'LIST')
|
||||||
data['typestring'] = TYPE_CHOICES[data['choice']]
|
data['typestring'] = TYPE_CHOICES[data['choice']]
|
||||||
|
|
Loading…
Reference in a new issue