aboutsummaryrefslogtreecommitdiffstats
path: root/src/shorturls/testsettings.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/shorturls/testsettings.py')
-rw-r--r--src/shorturls/testsettings.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/shorturls/testsettings.py b/src/shorturls/testsettings.py
index 5ce99da..2098abf 100644
--- a/src/shorturls/testsettings.py
+++ b/src/shorturls/testsettings.py
@@ -1,3 +1,8 @@
+import os
+
+DEBUG = TEMPLATE_DEBUG = True
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = '/tmp/shorturls.db'
-INSTALLED_APPS = ['shorturls'] \ No newline at end of file
+INSTALLED_APPS = ['shorturls']
+ROOT_URLCONF = ['shorturls.urls']
+TEMPLATE_DIRS = os.path.join(os.path.dirname(__file__), 'tests', 'templates') \ No newline at end of file