Improve the settings method, allow for execution of mayan-edms.py without an existing local.py file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user