aboutsummaryrefslogtreecommitdiffstats
path: root/src/shorturls/testsettings.py
diff options
context:
space:
mode:
authorBen Firshman2014-09-20 18:43:26 -0700
committerBen Firshman2014-09-20 19:04:11 -0700
commit0158a679083f030980e5463b2e7af906423cf6b0 (patch)
treee3f413536a1ebdb870509282e5a31168c905b043 /src/shorturls/testsettings.py
parent81e40532dcdcf3844d12a08e4a8cd38370b45d17 (diff)
downloaddjango-shorturls-0158a679083f030980e5463b2e7af906423cf6b0.tar.bz2
Add support for Django 1.7, remove 1.2 and 1.3
Diffstat (limited to 'src/shorturls/testsettings.py')
-rw-r--r--src/shorturls/testsettings.py3
1 files changed, 2 insertions, 1 deletions
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'),)