diff options
-rw-r--r-- | pv/settings.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pv/settings.py b/pv/settings.py index d966f2c..5d23ab9 100644 --- a/pv/settings.py +++ b/pv/settings.py @@ -5,7 +5,6 @@ import os.path PROJECT_DIR = os.path.dirname(__file__) DEBUG = True -TEMPLATE_DEBUG = DEBUG ADMINS = () @@ -47,7 +46,7 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ - 'templates' + os.path.join(PROJECT_DIR, 'templates') ], 'APP_DIRS': True, 'OPTIONS': { @@ -74,10 +73,6 @@ MIDDLEWARE_CLASSES = ( ROOT_URLCONF = 'pv.urls' -TEMPLATE_DIRS = ( - os.path.join(PROJECT_DIR, "templates"), -) - INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', |