From dc86d6e1a2573ad5d0462da822a5ab0f397371f4 Mon Sep 17 00:00:00 2001
From: Ernesto Rico Schmidt <ernesto@helsinki.at>
Date: Thu, 26 Jan 2023 18:14:10 -0400
Subject: [PATCH] Remove remaining superfluous settings

---
 steering/settings.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/steering/settings.py b/steering/settings.py
index 558296d1..33c66cb5 100644
--- a/steering/settings.py
+++ b/steering/settings.py
@@ -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"
 
-- 
GitLab