Skip to content

Commit

Permalink
don't pass in base dir
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Sep 26, 2024
1 parent f7e3dd4 commit 92a123c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -34,7 +30,7 @@

ROOT_URLCONF = "codeforlife.user.urls"

DATABASES = get_databases(BASE_DIR)
DATABASES = get_databases()

if __name__ == "__main__":
import os
Expand Down

0 comments on commit 92a123c

Please sign in to comment.