From 10d92b42bd5bb174e37076a83d4af047e733155c Mon Sep 17 00:00:00 2001 From: Ernesto Rico-Schmidt Date: Wed, 6 Jan 2016 21:17:27 +0100 Subject: fixed warnings 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', -- cgit v0.10.2