summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-01-06 20:17:27 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2016-01-06 20:17:27 (GMT)
commit10d92b42bd5bb174e37076a83d4af047e733155c (patch)
treeee30e2a61175dc36056f774ba3e77f4e58c7087b
parent1d44cd892ad9c3f0b02a4fe883c6e7cd92abe8e5 (diff)
fixed warnings
-rw-r--r--pv/settings.py7
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',