"django.contrib.messages.context_processors.messages", ] }, }] for app in PROJECT_APPS[::-1]: _template_dir = os.path.join(ROOT_DIR, app.replace(".", os.sep), "templates") if os.path.exists(_template_dir): TEMPLATES[0]["DIRS"].insert(0, _template_dir) WSGI_APPLICATION = "espressodb_tests.config.wsgi.application" # Database # https://docs.djangoproject.com/en/2.2/ref/settings/#databases DB_CONFIG = get_db_config(ROOT_DIR) DATABASES = {"default": DB_CONFIG} # Password validation # 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" }, {
"django.contrib.messages.context_processors.messages", ] }, }] for app in PROJECT_APPS[::-1]: _template_dir = os.path.join(ROOT_DIR, app.replace(".", os.sep), "templates") if os.path.exists(_template_dir): TEMPLATES[0]["DIRS"].insert(0, _template_dir) WSGI_APPLICATION = "strops.config.wsgi.application" # Database # https://docs.djangoproject.com/en/3.0/ref/settings/#databases DB_CONFIG = get_db_config(CONFIG_DIR) DATABASES = {"default": DB_CONFIG} # Password validation # https://docs.djangoproject.com/en/3.0/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { "NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator" }, { "NAME": "django.contrib.auth.password_validation.MinimumLengthValidator" }, {
"django.contrib.messages.context_processors.messages", ] }, }] for app in PROJECT_APPS[::-1]: _template_dir = os.path.join(ROOT_DIR, app.replace(".", os.sep), "templates") if os.path.exists(_template_dir): TEMPLATES[0]["DIRS"].insert(0, _template_dir) WSGI_APPLICATION = "lattedb.config.wsgi.application" # Database # https://docs.djangoproject.com/en/2.2/ref/settings/#databases DB_CONFIG = get_db_config(_SETTINGS_DIR) DATABASES = {"default": DB_CONFIG} # Password validation # 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" }, {