Skip to content

Commit 0e05749

Browse files
authored
Bug: Templates not interpreted
#3
1 parent f70e96c commit 0e05749

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/django/local_settings.py.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
2727

2828
MEDIA_ROOT = '%s/uploaded/' % PROJECT_ROOT
2929
STATIC_ROOT = '%s/static_root' % PROJECT_ROOT
30+
LOCAL_ROOT = os.path.abspath(os.path.dirname(__file__))
31+
TEMPLATES[0]['DIRS'].insert(0, os.path.join(LOCAL_ROOT, "templates"))
3032

3133
# Make this unique, and don't share it with anybody.
3234
SECRET_KEY = '###'

0 commit comments

Comments
 (0)