{"id":16641210,"url":"https://github.com/barseghyanartur/django-debug-toolbar-force","last_synced_at":"2025-03-21T15:32:21.581Z","repository":{"id":57419723,"uuid":"75077765","full_name":"barseghyanartur/django-debug-toolbar-force","owner":"barseghyanartur","description":"Show Django Debug Toolbar in non- or partial-HTML views.","archived":false,"fork":false,"pushed_at":"2022-12-02T20:38:06.000Z","size":205,"stargazers_count":14,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T03:03:46.804Z","etag":null,"topics":["django","django-debug-toolbar","python"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/django-debug-toolbar-force","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barseghyanartur.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE_GPL2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-29T12:07:44.000Z","updated_at":"2024-03-31T04:22:52.000Z","dependencies_parsed_at":"2023-01-22T23:00:14.189Z","dependency_job_id":null,"html_url":"https://github.com/barseghyanartur/django-debug-toolbar-force","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barseghyanartur%2Fdjango-debug-toolbar-force","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barseghyanartur%2Fdjango-debug-toolbar-force/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barseghyanartur%2Fdjango-debug-toolbar-force/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barseghyanartur%2Fdjango-debug-toolbar-force/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barseghyanartur","download_url":"https://codeload.github.com/barseghyanartur/django-debug-toolbar-force/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822732,"owners_count":20516156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-debug-toolbar","python"],"created_at":"2024-10-12T07:45:49.994Z","updated_at":"2025-03-21T15:32:21.292Z","avatar_url":"https://github.com/barseghyanartur.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==========================\ndjango-debug-toolbar-force\n==========================\nShow ``django-debug-toolbar`` in non- or partial-HTML views.\n\n.. image:: https://img.shields.io/pypi/v/django-debug-toolbar-force.svg\n   :target: https://pypi.python.org/pypi/django-debug-toolbar-force\n   :alt: PyPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/django-debug-toolbar-force.svg\n    :target: https://pypi.python.org/pypi/django-debug-toolbar-force/\n    :alt: Supported Python versions\n\n.. image:: https://github.com/barseghyanartur/django-debug-toolbar-force/workflows/test/badge.svg\n   :target: https://github.com/barseghyanartur/django-debug-toolbar-force/actions?query=workflow%3Atest\n   :alt: Build Status\n\n.. image:: https://readthedocs.org/projects/django-debug-toolbar-force/badge/?version=latest\n    :target: http://django-debug-toolbar-force.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. image:: https://img.shields.io/badge/license-GPL--2.0--only%20OR%20LGPL--2.1--or--later-blue.svg\n   :target: https://github.com/barseghyanartur/django-debug-toolbar-force/#License\n   :alt: GPL-2.0-only OR LGPL-2.1-or-later\n\n.. image:: https://coveralls.io/repos/github/barseghyanartur/django-debug-toolbar-force/badge.svg?branch=master\n    :target: https://coveralls.io/github/barseghyanartur/django-debug-toolbar-force?branch=master\n    :alt: Coverage\n\nPrerequisites\n=============\n- Python 3.7, 3.8, 3.9, 3.10 and 3.11.\n- Django 2.2, 3.0, 3.1, 3.2, 4.0 and 4.1.\n- django-debug-toolbar (version depends on your Django version).\n\nDocumentation\n=============\nDocumentation is available on `Read the Docs\n\u003chttp://django-debug-toolbar-force.readthedocs.io/\u003e`_.\n\nInstallation\n============\n(1) Install latest stable version from PyPI:\n\n    .. code-block:: sh\n\n        pip install django-debug-toolbar-force\n\n    or latest stable version from GitHub:\n\n    .. code-block:: sh\n\n        pip install https://github.com/barseghyanartur/django-debug-toolbar-force/archive/stable.tar.gz\n\n(2) Add ``debug_toolbar_force.middleware.ForceDebugToolbarMiddleware``\n    to ``MIDDLEWARE`` of the your projects' Django settings (you would\n    typically do that in your dev settings only).\n\n    .. code-block:: python\n\n        MIDDLEWARE += (\n            \"debug_toolbar.middleware.DebugToolbarMiddleware\",\n            \"debug_toolbar_force.middleware.ForceDebugToolbarMiddleware\",\n        )\n\nUsage\n=====\nIn your browser, visit a non-HTML view and append ``?debug-toolbar`` at the\nend.\n\n.. code-block:: text\n\n    GET http://localhost:8000/foo/json-view/?debug-toolbar\n\nCould be extremely handy for optimising endpoints of the Django REST Framework\nusing browsable API.\n\n.. code-block:: text\n\n    GET http://localhost:8000/api/some-drf-endpoint/?format=json\u0026debug-toolbar\n\nTesting\n=======\nSimply type:\n\n.. code-block:: sh\n\n    pytest -vvv\n\nor use tox:\n\n.. code-block:: sh\n\n    tox\n\nor use tox to check specific env:\n\n.. code-block:: sh\n\n    tox -e py310\n\nLicense\n=======\nGPL-2.0-only OR LGPL-2.1-or-later\n\nSupport\n=======\nFor any security issues contact me at the e-mail given in the `Author`_ section.\n\nFor overall issues, go to `GitHub \u003chttps://github.com/barseghyanartur/django-debug-toolbar-force/issues\u003e`_.\n\nAuthor\n======\nArtur Barseghyan \u003cartur.barseghyan@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarseghyanartur%2Fdjango-debug-toolbar-force","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarseghyanartur%2Fdjango-debug-toolbar-force","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarseghyanartur%2Fdjango-debug-toolbar-force/lists"}