changeset 181:874ecfe6054a

Django 1.8 updates. Update production settings and requirements.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Dec 2015 21:14:31 -0600
parents 312f198e8958
children 942b57918ca6
files madeira/settings/production.py requirements.txt
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/madeira/settings/production.py	Sun Dec 13 21:04:43 2015 -0600
+++ b/madeira/settings/production.py	Sun Dec 13 21:14:31 2015 -0600
@@ -3,7 +3,6 @@
 from madeira.settings.base import *
 
 DEBUG = False
-TEMPLATE_DEBUG = DEBUG
 
 ALLOWED_HOSTS = ['.themadeira.net']
 
@@ -21,7 +20,8 @@
 
 STATIC_ROOT = os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static_serve'))
 
-TEMPLATE_LOADERS = [
+del TEMPLATES[0]['APP_DIRS']
+TEMPLATES[0]['OPTIONS']['loaders'] = [
     ('django.template.loaders.cached.Loader', (
         'django.template.loaders.filesystem.Loader',
         'django.template.loaders.app_directories.Loader',
--- a/requirements.txt	Sun Dec 13 21:04:43 2015 -0600
+++ b/requirements.txt	Sun Dec 13 21:14:31 2015 -0600
@@ -1,4 +1,4 @@
-Django==1.7.10
+Django==1.8.7
 MySQL-python==1.2.4
 python-memcached==1.48
 django-localflavor==1.0