diff options
author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2012-01-16 10:14:54 +0000 |
---|---|---|
committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2012-01-16 10:14:54 +0000 |
commit | 6cf05d70a87cd33955670d43f14f28067f90379e (patch) | |
tree | 01fdb34a180503993a9ebd9dc9c1107a83bba606 /testproject/settings.py | |
parent | 7710f08802aaf7fb8f7355bba00e5c3fd886209f (diff) | |
download | django-wkhtmltopdf-6cf05d70a87cd33955670d43f14f28067f90379e.tar.gz django-wkhtmltopdf-6cf05d70a87cd33955670d43f14f28067f90379e.tar.bz2 django-wkhtmltopdf-6cf05d70a87cd33955670d43f14f28067f90379e.zip |
Test translation to temp file.
Diffstat (limited to 'testproject/settings.py')
-rw-r--r-- | testproject/settings.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testproject/settings.py b/testproject/settings.py index f60fecd..0454766 100644 --- a/testproject/settings.py +++ b/testproject/settings.py @@ -1,3 +1,7 @@ +import os + +PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) + # Django settings for testproject project. DEBUG = True @@ -103,6 +107,7 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'testproject.urls' TEMPLATE_DIRS = ( + os.path.join(PROJECT_PATH, 'templates') # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. |