projects
/
matthijs
/
projects
/
dorestad-bookings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81df86a
)
settings: Add a path for the templates.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 18 Oct 2010 10:36:00 +0000
(12:36 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 18 Oct 2010 10:43:29 +0000
(12:43 +0200)
settings.py
patch
|
blob
|
history
diff --git
a/settings.py
b/settings.py
index 5f3fcbd750cca39a1fa29595797ae33e77f1c9ec..dabd33b17d6a2452ca698cb40ae5b0663cab84d6 100644
(file)
--- a/
settings.py
+++ b/
settings.py
@@
-1,5
+1,9
@@
# Django settings for dorestad1493 project.
+import os
+
+PROJECT_DIR = os.path.dirname(__file__)
+
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@
-69,6
+73,7
@@
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
+ os.path.join(PROJECT_DIR, 'templates'),
)
INSTALLED_APPS = (