diff options
author | Robert Gerus <ar@bash.org.pl> | 2020-03-08 19:01:58 +0100 |
---|---|---|
committer | Robert Gerus <ar@bash.org.pl> | 2020-03-08 19:01:58 +0100 |
commit | 6b5c97b6384c48d5b7adbe551683105d73ceb7b2 (patch) | |
tree | 1e10eb65c51975694f5eff818549911703e45172 | |
parent | d44df4cc455f225a393e47939f9b6a7bc4aebff7 (diff) | |
download | spejstore-6b5c97b6384c48d5b7adbe551683105d73ceb7b2.tar.gz spejstore-6b5c97b6384c48d5b7adbe551683105d73ceb7b2.tar.bz2 spejstore-6b5c97b6384c48d5b7adbe551683105d73ceb7b2.tar.xz spejstore-6b5c97b6384c48d5b7adbe551683105d73ceb7b2.zip |
Make template lookup path independent from $PWD
-rw-r--r-- | spejstore/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spejstore/settings.py b/spejstore/settings.py index 07cc79f..6991604 100644 --- a/spejstore/settings.py +++ b/spejstore/settings.py @@ -75,7 +75,7 @@ ROOT_URLCONF = 'spejstore.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': ['templates/'], + 'DIRS': [os.path.join(BASE_DIR, "templates")], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ |