Skip to main content

django-debug-toolbar-force

Show django-debug-toolbar in non- or partial-HTML views.

PyPI Version Supported Python versions Build Status Documentation Status GPL-2.0-only OR LGPL-2.1-or-later Coverage

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

  1. Install latest stable version from PyPI:

    pip install django-debug-toolbar-force

    or latest stable version from GitHub:

    pip install https://github.com/barseghyanartur/django-debug-toolbar-force/archive/stable.tar.gz
  2. Add 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.

Author

Artur Barseghyan <artur.barseghyan@gmail.com>

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)

Source distribution for django-debug-toolbar-force 0.2
File Size Uploaded
django-debug-toolbar-force-0.2.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-debug-toolbar-force 0.2
File Interpreter ABI Platform
django_debug_toolbar_force-0.2-py2.py3-none-any.whl Python 3, Python 2 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

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page