diff --git a/eva/settings_development.py b/eva/settings_development.py index 0e63671..54fa491 100644 --- a/eva/settings_development.py +++ b/eva/settings_development.py @@ -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 diff --git a/eva/settings_production.py b/eva/settings_production.py index b21ce6e..fbd0f44 100644 --- a/eva/settings_production.py +++ b/eva/settings_production.py @@ -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' diff --git a/settings.py b/settings.py deleted file mode 120000 index 3dd5fee..0000000 --- a/settings.py +++ /dev/null @@ -1 +0,0 @@ -settings_development.py \ No newline at end of file