pathlib for path management & cavelist fixes

This commit is contained in:
Philip Sargent
2021-03-24 15:46:35 +00:00
parent 7f37327bcd
commit 9a91487375
5 changed files with 69 additions and 31 deletions

View File

@@ -27,7 +27,7 @@ print("* importing troggle/settings.py")
# read https://docs.djangoproject.com/en/3.0/topics/settings/
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
#BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# Django settings for troggle project.