Look for local_settings.py, for local settings changes
This commit is contained in:
parent
3958632278
commit
bad962a2b7
|
@ -97,6 +97,14 @@ INSTALLED_APPS = (
|
|||
|
||||
INTERNAL_IPS = ('127.0.0.1',)
|
||||
|
||||
|
||||
# local_settings.py can be used to override environment-specific settings
|
||||
# like database and email that differ between development and production.
|
||||
try:
|
||||
from local_settings import *
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
if USE_DEBUG_TOOLBAR:
|
||||
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
|
||||
INSTALLED_APPS += ('debug_toolbar',)
|
||||
|
|
Loading…
Reference in New Issue