Browse Source

another fix for deployment

master
Benni Baermann 4 years ago
parent
commit
2cd26f0d0e
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      foerderbarometer/settings.py
  2. +1
    -1
      input/views.py

+ 3
- 0
foerderbarometer/settings.py 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'

+ 1
- 1
input/views.py 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'):

Loading…
Cancel
Save