From 5f1f589ac67558728b67f2bfeb01954011ef4958 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Thu, 4 Jul 2024 11:51:58 +0000 Subject: [PATCH] remove duplicate settings --- manage.py | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/manage.py b/manage.py index 343abf58..da957b92 100644 --- a/manage.py +++ b/manage.py @@ -35,28 +35,7 @@ ROOT_URLCONF = "codeforlife.user.urls" -TEMPLATES = [ - { - "BACKEND": "django.template.backends.django.DjangoTemplates", - "DIRS": [], - "APP_DIRS": True, - "OPTIONS": { - "context_processors": [ - "django.template.context_processors.debug", - "django.template.context_processors.request", - "django.contrib.auth.context_processors.auth", - "django.contrib.messages.context_processors.messages", - ], - }, - }, -] - -DATABASES = { - "default": { - "ENGINE": "django.db.backends.sqlite3", - "NAME": BASE_DIR / "db.sqlite3", - } -} +DATABASES = get_databases(BASE_DIR) if __name__ == "__main__": import os