summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <ar@bash.org.pl>2020-03-08 19:01:58 +0100
committerRobert Gerus <ar@bash.org.pl>2020-03-08 19:01:58 +0100
commit6b5c97b6384c48d5b7adbe551683105d73ceb7b2 (patch)
tree1e10eb65c51975694f5eff818549911703e45172
parentd44df4cc455f225a393e47939f9b6a7bc4aebff7 (diff)
downloadspejstore-6b5c97b6384c48d5b7adbe551683105d73ceb7b2.tar.gz
spejstore-6b5c97b6384c48d5b7adbe551683105d73ceb7b2.tar.bz2
spejstore-6b5c97b6384c48d5b7adbe551683105d73ceb7b2.zip
Make template lookup path independent from $PWD
-rw-r--r--spejstore/settings.py2
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': [