forked from beba/foerderbarometer
another fix for deployment
This commit is contained in:
parent
0a62bd426f
commit
2cd26f0d0e
|
@ -16,6 +16,9 @@ from pathlib import Path
|
|||
|
||||
from django.core.exceptions import ImproperlyConfigured
|
||||
|
||||
# prefix for urls in mails
|
||||
URLPREFIX = 'http://localhost:8000'
|
||||
|
||||
# mails in development go to stdout
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ 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
|
||||
from settings import URLPREFIX
|
||||
|
||||
def auth_deny(choice,pk,auth):
|
||||
if choice in ('BIB', 'ELIT', 'SOFT'):
|
||||
|
|
Loading…
Reference in New Issue