This commit is contained in:
ferdzo
2024-04-11 19:45:29 +02:00
parent 2e515c267a
commit fbb5265dd0
2 changed files with 16 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ https://docs.djangoproject.com/en/4.2/ref/settings/
from pathlib import Path
import environ
env = environ.Env()
environ.Env.read_env('.env')
environ.Env.read_env('../.env')
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent