[PATCH 0/3] django-debug-toolbar fixes
dja at axtens.net
Tue Aug 9 14:38:42 AEST 2016
The django-debug-toolbar wasn't working with Docker because connections
don't come in on localhost.
Furthermore, I found that if I enabled that, it broke pretty hard due
to a breaking change in sqlparse. There's a new version of
django-debug-toolbar that fixes it, but it breaks on Django 1.7, so
don't do that, restrict sqlparse instead.
In the process I found that we don't have sqlparse in production
requirements, and due to the use of a RunSQL migration, we need it. So
Daniel Axtens (3):
Force sqlparse < 0.2 for django-debug-toolbar
Add sqlparse to production requirements.
Add Docker IP to whitelist for django-debug-toolbar
patchwork/settings/dev.py | 5 ++++-
requirements-prod.txt | 5 +++++
requirements-test.txt | 1 +
3 files changed, 10 insertions(+), 1 deletion(-)
More information about the Patchwork