# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-
+MEDIA_ROOT = BASE_DIR
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
ALLOWED_HOSTS = []
+LOGIN_URL = "/eh-util/login"
# Application definition
INSTALLED_APPS = [
- 'eh_abgleich',
+ 'eh_app.apps.EhAppConfig',
+# 'ausweis.apps.AusweisConfig',
+# 'kassenbrief.apps.KassenbriefConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
- 'DIRS': [],
+ 'DIRS': [os.path.join(BASE_DIR, "eh_util/templates"), os.path.join(BASE_DIR, "eh_utils/eh_app/templates/svbal")],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
- {
- 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
- },
- {
- 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
- },
- {
- 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
- },
- {
- 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
- },
+ #{
+ # 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
+ #},
+ #{
+ # 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
+ #},
+ #{
+ # 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
+ #},
+ #{
+ # 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
+ #},
]