From: Damien Lespiau Date: Thu, 4 Sep 2014 23:57:37 +0000 (+0100) Subject: settings: Make sure to use a tuple for TEMPLATE_DIRS X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=6304acad9c3f0241c517f81319fda338a1c895b2;p=patchwork 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 Signed-off-by: Jeremy Kerr --- 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/"