diff options
| author | Jacob Kaplan-Moss | 2009-04-12 16:25:05 -0500 | 
|---|---|---|
| committer | Jacob Kaplan-Moss | 2009-04-12 16:25:05 -0500 | 
| commit | b5ee253b28673fcfad49f09d9d2687e86ed520b7 (patch) | |
| tree | 32f3f5939bf8d69503f443573414ea80567d095e /src/shorturls/testsettings.py | |
| parent | 4391a39ee4cde31ff9c9a56cd8d452b934136b4e (diff) | |
| download | django-shorturls-b5ee253b28673fcfad49f09d9d2687e86ed520b7.tar.bz2 | |
Added a working shorturl redirect view, with tests.
Diffstat (limited to 'src/shorturls/testsettings.py')
| -rw-r--r-- | src/shorturls/testsettings.py | 7 | 
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 | 
