1
0
Fork 0

another fix for deployment

This commit is contained in:
Benni Bärmann 2020-11-09 12:35:23 +01:00
parent 0a62bd426f
commit 2cd26f0d0e
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -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'):