From 0158a679083f030980e5463b2e7af906423cf6b0 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Sat, 20 Sep 2014 18:43:26 -0700 Subject: Add support for Django 1.7, remove 1.2 and 1.3 --- src/shorturls/testsettings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/shorturls/testsettings.py') diff --git a/src/shorturls/testsettings.py b/src/shorturls/testsettings.py index 408ea8b..1f66f84 100644 --- a/src/shorturls/testsettings.py +++ b/src/shorturls/testsettings.py @@ -1,6 +1,7 @@ import os DEBUG = TEMPLATE_DEBUG = True +SECRET_KEY = '123' # For Pre-Django 1.3 DATABASE_ENGINE = 'sqlite3' @@ -15,4 +16,4 @@ DATABASES = { INSTALLED_APPS = ['shorturls'] ROOT_URLCONF = ['shorturls.urls'] -TEMPLATE_DIRS = os.path.join(os.path.dirname(__file__), 'tests', 'templates') +TEMPLATE_DIRS = (os.path.join(os.path.dirname(__file__), 'tests', 'templates'),) -- cgit v1.2.3