From b5ee253b28673fcfad49f09d9d2687e86ed520b7 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Sun, 12 Apr 2009 16:25:05 -0500 Subject: Added a working shorturl redirect view, with tests. --- src/shorturls/testsettings.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/shorturls/testsettings.py') 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 -- cgit v1.2.3