From 92a123c18fa17eb9e542a731b6687859d7b56415 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Thu, 26 Sep 2024 15:20:01 +0000 Subject: [PATCH] don't pass in base dir --- manage.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/manage.py b/manage.py index aa224ec2..cff1c58a 100644 --- a/manage.py +++ b/manage.py @@ -5,13 +5,9 @@ This file manages Django but also acts a settings file. """ -from pathlib import Path - # pylint: disable-next=wildcard-import,unused-wildcard-import from codeforlife.settings import * -BASE_DIR = Path(__file__).resolve().parent - INSTALLED_APPS = [ "django.contrib.admin", "django.contrib.auth", @@ -34,7 +30,7 @@ ROOT_URLCONF = "codeforlife.user.urls" -DATABASES = get_databases(BASE_DIR) +DATABASES = get_databases() if __name__ == "__main__": import os