summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-09-05 00:57:37 +0100
committerJeremy Kerr <jk@ozlabs.org>2014-09-07 20:07:42 +0800
commit6304acad9c3f0241c517f81319fda338a1c895b2 (patch)
tree59d5d81f6c012b3c24c676e5fca69fab749608ad
parent1160600cda6214e66756c4670ca2c898f4256b1b (diff)
downloadpatchwork-6304acad9c3f0241c517f81319fda338a1c895b2.tar.bz2
patchwork-6304acad9c3f0241c517f81319fda338a1c895b2.tar.xz
settings: Make sure to use a tuple for TEMPLATE_DIRS
Django 1.7 has added a check to make sure TEMPLATE_DIRS is a tuple. We were missing a ',', the key piece to define a tuple with one element. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--apps/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.py b/apps/settings.py
index 3579ab7..e663c48 100644
--- a/apps/settings.py
+++ b/apps/settings.py
@@ -73,7 +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(ROOT_DIR, 'templates')
+ os.path.join(ROOT_DIR, 'templates'),
)
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"