diff --git a/foerderbarometer/settings.py b/foerderbarometer/settings.py index 4b06fe9..3f40d9b 100644 --- a/foerderbarometer/settings.py +++ b/foerderbarometer/settings.py @@ -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' diff --git a/input/views.py b/input/views.py index d4bdb45..6415c19 100644 --- a/input/views.py +++ b/input/views.py @@ -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'):