mirror of
https://github.com/ferdzo/serviceCRM.git
synced 2026-04-05 13:16:24 +00:00
Update
This commit is contained in:
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal 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__/
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user