django-debug-toolbar-force
Show django-debug-toolbar in non- or partial-HTML views.
Prerequisites
Python 3.7, 3.8, 3.9, 3.10 and 3.11.
Django 2.2, 3.0, 3.1, 3.2, 4.0 and 4.1.
django-debug-toolbar 1.5 (may work on earlier versions as well, although not guaranteed).
Documentation
Documentation is available on Read the Docs.
Installation
Install latest stable version from PyPI:
pip install django-debug-toolbar-forceor latest stable version from GitHub:
pip install https://github.com/barseghyanartur/django-debug-toolbar-force/archive/stable.tar.gzAdd debug_toolbar_force.middleware.ForceDebugToolbarMiddleware to MIDDLEWARE (or MIDDLEWARE_CLASSES for older versions of Django) of the your projects’ Django settings (you would typically do that in your dev settings only).
MIDDLEWARE += ( '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
Testing
Simply type:
pytest -vvv
or use tox:
tox
or use tox to check specific env:
tox -e py310
License
GPL-2.0-only OR LGPL-2.1-or-later
Support
For any security issues contact me at the e-mail given in the Author section.
For overall issues, go to GitHub.
Metadata
Release files for django-debug-toolbar-force 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-debug-toolbar-force-0.2.tar.gz | 22.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_debug_toolbar_force-0.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 52.5 kB
Release files / django-debug-toolbar-force-0.2.tar.gz
| Download URL | django-debug-toolbar-force-0.2.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ab28dca4a5cd0261dfe555d709935f2dabbbb09b4be5ac0ce82103a8da0a735
|
|
BLAKE2b-256 checksum How to use checksums |
4250dd5da7546b5cc613fac977a1456cdac7e41b78c611c034cbfee579ca96e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / django_debug_toolbar_force-0.2-py2.py3-none-any.whl
| Download URL | django_debug_toolbar_force-0.2-py2.py3-none-any.whl |
|---|---|
| Size | 29.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3f580982051079dc5e85e13590d9f13d70bf012be693a81b167183cf9a3f6eec
|
|
BLAKE2b-256 checksum How to use checksums |
69e0587e010a8e58c5c4d258260a39cc6b28ecdecdd8be7242c5433567744ed2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for django-debug-toolbar-force 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.