config.py

This commit is contained in:
Arnold Dechamps 2024-03-26 16:24:18 +01:00
parent 948e3991cd
commit 215bc69b4f
No known key found for this signature in database
GPG key ID: AE66543374E41C89
4 changed files with 3 additions and 1 deletions

3
.gitignore vendored
View file

@ -173,4 +173,5 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear # and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
# Avoiding public key leakage
/config.py

0
config.example.py Normal file
View file

0
config.py Normal file
View file

View file

@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/3.1/ref/settings/
""" """
from pathlib import Path from pathlib import Path
import config
# Build paths inside the project like this: BASE_DIR / 'subdir'. # Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = Path(__file__).resolve().parent.parent