From 48a1ddd48c21cfa068e2d4e9b8d9ea7c12d3d5e9 Mon Sep 17 00:00:00 2001 From: Martin Blech Date: Mon, 1 Dec 2014 20:54:48 -0300 Subject: [PATCH] Added default Vagrant gateway to INTERNAL_IPS Makes Django Debug Toolbar show up too when running inside the Vagrant VM. --- .../{{cookiecutter.repo_name}}/config/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py index c3b6788f..534a16a5 100644 --- a/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py +++ b/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/local.py @@ -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': [