Added default Vagrant gateway to INTERNAL_IPS

Makes Django Debug Toolbar show up too when running inside the Vagrant VM.
This commit is contained in:
Martin Blech 2014-12-01 20:54:48 -03:00
parent d87d332ef2
commit 48a1ddd48c

View File

@ -31,7 +31,7 @@ class Local(Common):
MIDDLEWARE_CLASSES = Common.MIDDLEWARE_CLASSES + ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INSTALLED_APPS += ('debug_toolbar',)
INTERNAL_IPS = ('127.0.0.1',)
INTERNAL_IPS = ('127.0.0.1', '10.0.2.2',)
DEBUG_TOOLBAR_CONFIG = {
'DISABLE_PANELS': [