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

15
.gitignore vendored Normal file
View File

@@ -0,0 +1,15 @@
# Ignore venv directories
venv/
# Ignore .env files
.env
# Ignore log files
*.log
.vscode
.idea/
# Ignore .DS_Store files
.DS_Store
# Ignore .pytest_cache directory
__pycache__/

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