Skip to content
Snippets Groups Projects
Commit dc86d6e1 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Remove remaining superfluous settings

parent 0542a55e
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,6 @@ ROOT_URLCONF = "steering.urls"
DEBUG = True if os.getenv("DEBUG") else False
SITE_ID = 1
ADMINS = ()
MANAGERS = ADMINS
# Must be set if DEBUG is False
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", default="127.0.0.1,localhost").split(",")
......@@ -51,15 +49,14 @@ DATABASES = {
# LOCALIZATION
TIME_ZONE = os.getenv("TZ", default="Europe/Vienna")
LANGUAGE_CODE = "de"
USE_I18N = True
USE_L10N = True
USE_TZ = True # django-oidc-provider needs timezones in database
SECRET_KEY = os.getenv("SECRET_KEY", default="secret-key")
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [BASE_DIR / "templates"],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
......@@ -158,7 +155,6 @@ CBA_AJAX_URL = CBA_URL + "/wp-admin/admin-ajax.php"
CBA_REST_API_URL = CBA_URL + "/wp-json/wp/v2/"
# OIDC Provider Settings
USE_TZ = True # django-oidc-provider needs timezones in database
LOGIN_URL = "/admin/login/" # Login page OIDC redirects to
OIDC_EXTRA_SCOPE_CLAIMS = "steering.oidc_provider_settings.AuraScopeClaims"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment