From 90b1cffcc7ce73513f5ab0df11895c77880250ec Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Fri, 27 May 2011 15:03:48 +0100 Subject: [PATCH] Fix template location --- app/conf/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/conf/common.py b/app/conf/common.py index 6e85857..b8a5da2 100644 --- a/app/conf/common.py +++ b/app/conf/common.py @@ -12,7 +12,7 @@ SITE_ID = 1 USE_I18N = True # Defines the Static Media storage as per staticfiles contrib -STATIC_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'static') +STATIC_ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', 'static') STATIC_URL = '/static/' ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/' @@ -39,7 +39,7 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'urls' TEMPLATE_DIRS = ( - os.path.join(os.path.dirname(__file__), "templates"), + os.path.join(os.path.dirname(__file__), '..', 'templates'), ) TEMPLATE_CONTEXT_PRCESSORS = (