# HG changeset patch # User Brian Neal # Date 1450062871 21600 # Node ID 874ecfe6054a2fd72f472d7dcc994693f4b2fe13 # Parent 312f198e895840e2c43cb15b09b0b4ed610f9ad8 Django 1.8 updates. Update production settings and requirements. diff -r 312f198e8958 -r 874ecfe6054a madeira/settings/production.py --- 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', diff -r 312f198e8958 -r 874ecfe6054a requirements.txt --- 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