Improve the settings method, allow for execution of mayan-edms.py without an existing local.py file

This commit is contained in:
Roberto Rosario
2014-10-09 19:34:51 -04:00
parent 0222474afa
commit 9bf1b3b95a
8 changed files with 23 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
from __future__ import absolute_import
from .base import *
from . import * # NOQA
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@ -19,7 +19,8 @@ INSTALLED_APPS += (
'django_extensions',
)
# Stop debug toolbar patching! (see https://github.com/django-debug-toolbar/django-debug-toolbar/issues/524)
# Stop debug toolbar patching!
# see https://github.com/django-debug-toolbar/django-debug-toolbar/issues/524
TEMPLATE_CONTEXT_PROCESSORS += ('django.core.context_processors.debug',)
WSGI_AUTO_RELOAD = True