WMDE
/
eva
forked from tohe/eva
7
1
Fork 0

changed devel to production test

This commit is contained in:
root 2025-11-25 13:41:49 +00:00
parent a7c85692bc
commit 0b3ca2db03
3 changed files with 8 additions and 4 deletions

View File

@ -10,8 +10,8 @@ For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.1/ref/settings/
"""
from pathlib import Path
import os
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent

View File

@ -60,7 +60,10 @@ ALLOWED_HOSTS = ['*']
# Application definition
INSTALLED_APPS = [
'evapp.apps.EvappConfig',
'home',
'austritt',
'veraenderung',
'eintritt.apps.EintrittConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
@ -80,12 +83,13 @@ MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'allauth.account.middleware.AccountMiddleware'
]
ROOT_URLCONF = 'eva.urls'
@ -178,3 +182,4 @@ ACCOUNT_EMAIL_VERIFICATION = 'none'
ACCOUNT_LOGOUT_ON_GET = True
LOGIN_REDIRECT_URL = 'home'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

View File

@ -1 +0,0 @@
settings_development.py