[settings] remove some empty lines

This commit is contained in:
bronsen 2024-11-21 12:29:19 +01:00
parent d635b7ba05
commit ca09a2916e

View file

@ -7,15 +7,11 @@ BASE_DIR = Path(__file__).resolve().parent.parent
class Base(Configuration):
DEBUG = False
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
INSTALLED_APPS = [
"dx",
]
ROOT_URLCONF = "dx.urls"
SECRET_KEY = "django-insecure-cbgvn=orgh$&6l-w91pp2=(b#hjwe1z&ijwiafgt(py1lq5i85"
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
@ -23,23 +19,19 @@ class Base(Configuration):
"APP_DIRS": True,
},
]
USE_TZ = True
class Dev(Base):
# Dangerous: disable host header validation
ALLOWED_HOSTS = ["*"]
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": "db.sqlite3",
},
}
DEBUG = True
INSTALLED_APPS = Base.INSTALLED_APPS + ["django_extensions"]