From cb14d22dc62f5b31c54b58142ddbcdaf0f031608 Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Thu, 26 Jan 2023 18:15:32 -0400 Subject: [PATCH] Remove superfluous comments --- steering/settings.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/steering/settings.py b/steering/settings.py index 33c66cb5..8d0aa1f3 100644 --- a/steering/settings.py +++ b/steering/settings.py @@ -1,5 +1,3 @@ -# Django settings for pv project. - import os from pathlib import Path @@ -8,7 +6,6 @@ from django_auth_ldap.config import LDAPSearch, PosixGroupType import ldap -# Paths BASE_DIR = Path(__file__).resolve(strict=True).parent.parent LOCALE_PATHS = (BASE_DIR / "locale",) @@ -27,14 +24,12 @@ SITE_ID = 1 # Must be set if DEBUG is False ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", default="127.0.0.1,localhost").split(",") -# Whitelist origins that access the API CORS_ALLOWED_ORIGINS = ["http://localhost:8080", "http://localhost:8040"] CORS_ALLOW_CREDENTIALS = True CORS_ALLOW_HEADERS = list(default_headers) + [ "content-disposition", ] -# ENGINE is 'sqlite3' by default and NAME is 'db.sqlite3' by default DATABASES = { "default": { "ENGINE": f"django.db.backends.{os.getenv('DATABASE_ENGINE', default='sqlite3')}", @@ -46,7 +41,6 @@ DATABASES = { }, } -# LOCALIZATION TIME_ZONE = os.getenv("TZ", default="Europe/Vienna") LANGUAGE_CODE = "de" USE_L10N = True -- GitLab