Force debugging of non-HTML views in django-debug-toolbar.
Project description
Show django-debug-toolbar in non- or partial-HTML views.
Installation
Install latest stable version from PyPI:
pip install django-debug-toolbar-force
Add debug_toolbar_force.middleware.ForceDebugToolbarMiddleware to MIDDLEWARE_CLASSES of the your projects’ Django settings (you would typically do that in your dev settings only).
MIDDLEWARE_CLASSES += (
'debug_toolbar.middleware.DebugToolbarMiddleware',
'debug_toolbar_force.middleware.ForceDebugToolbarMiddleware',
)
Usage
In your browser, visit a non-HTML view and append ?debug-toolbar at the end.
GET http://localhost:8000/foo/json-view/?debug-toolbar
License
GPL 2.0/LGPL 2.1
Support
For any issues contact me at the e-mail given in the Author section.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-debug-toolbar-force-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2888166aca4ee970de69dc4173398eee3723a7d069ad08892eed7e0a664a66f7 |
|
MD5 | 4687598b905816aafd09a8d7a2548eb4 |
|
BLAKE2b-256 | 112fea7a66559210e9b552d1db758c86c6e53f4afdbb79c7e609271b3570950d |
Close
Hashes for django_debug_toolbar_force-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2be50e0385f5f6b471516bece2fb909240c8813bb2619c8af42651c91b7a4cc |
|
MD5 | 11ba46a77fb29a9c76150141d29eeb28 |
|
BLAKE2b-256 | 52575355d720fd7ad113913617c5a42ccb450f787da7165956689913bfcbeda6 |