django-debug-toolbar-force


Namedjango-debug-toolbar-force JSON
Version 0.2 PyPI version JSON
download
home_pagehttps://github.com/barseghyanartur/django-debug-toolbar-force/
SummaryForce debugging of partial- or non-HTML views in django-debug-toolbar.
upload_time2022-12-01 23:55:25
maintainer
docs_urlNone
authorArtur Barseghyan
requires_python
licenseGPL-2.0-only OR LGPL-2.1-or-later
keywords django django-debug-toolbar
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            ==========================
django-debug-toolbar-force
==========================
Show ``django-debug-toolbar`` in non- or partial-HTML views.

.. image:: https://img.shields.io/pypi/v/django-debug-toolbar-force.svg
   :target: https://pypi.python.org/pypi/django-debug-toolbar-force
   :alt: PyPI Version

.. image:: https://img.shields.io/pypi/pyversions/django-debug-toolbar-force.svg
    :target: https://pypi.python.org/pypi/django-debug-toolbar-force/
    :alt: Supported Python versions

.. image:: https://img.shields.io/travis/barseghyanartur/django-debug-toolbar-force/master.svg
   :target: http://travis-ci.org/barseghyanartur/django-debug-toolbar-force
   :alt: Build Status

.. image:: https://readthedocs.org/projects/django-debug-toolbar-force/badge/?version=latest
    :target: http://django-debug-toolbar-force.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://img.shields.io/badge/license-GPL--2.0--only%20OR%20LGPL--2.1--or--later-blue.svg
   :target: https://github.com/barseghyanartur/django-debug-toolbar-force/#License
   :alt: GPL-2.0-only OR LGPL-2.1-or-later

.. image:: https://coveralls.io/repos/github/barseghyanartur/django-debug-toolbar-force/badge.svg?branch=master
    :target: https://coveralls.io/github/barseghyanartur/django-debug-toolbar-force?branch=master
    :alt: 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
<http://django-debug-toolbar-force.readthedocs.io/>`_.

Installation
============
(1) Install latest stable version from PyPI:

    .. code-block:: sh

        pip install django-debug-toolbar-force

    or latest stable version from GitHub:

    .. code-block:: sh

        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).

    .. code-block:: python

        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.

.. code-block:: text

    GET http://localhost:8000/foo/json-view/?debug-toolbar

Testing
=======
Simply type:

.. code-block:: sh

    pytest -vvv

or use tox:

.. code-block:: sh

    tox

or use tox to check specific env:

.. code-block:: sh

    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 <https://github.com/barseghyanartur/django-debug-toolbar-force/issues>`_.

Author
======
Artur Barseghyan <artur.barseghyan@gmail.com>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/barseghyanartur/django-debug-toolbar-force/",
    "name": "django-debug-toolbar-force",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django,django-debug-toolbar",
    "author": "Artur Barseghyan",
    "author_email": "artur.barseghyan@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/42/50/dd5da7546b5cc613fac977a1456cdac7e41b78c611c034cbfee579ca96e6/django-debug-toolbar-force-0.2.tar.gz",
    "platform": null,
    "description": "==========================\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://img.shields.io/travis/barseghyanartur/django-debug-toolbar-force/master.svg\n   :target: http://travis-ci.org/barseghyanartur/django-debug-toolbar-force\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 1.5 (may work on earlier versions as well, although\n  not guaranteed).\n\nDocumentation\n=============\nDocumentation is available on `Read the Docs\n<http://django-debug-toolbar-force.readthedocs.io/>`_.\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`` to\n    ``MIDDLEWARE`` (or ``MIDDLEWARE_CLASSES`` for older versions of Django)\n    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\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 <https://github.com/barseghyanartur/django-debug-toolbar-force/issues>`_.\n\nAuthor\n======\nArtur Barseghyan <artur.barseghyan@gmail.com>\n",
    "bugtrack_url": null,
    "license": "GPL-2.0-only OR LGPL-2.1-or-later",
    "summary": "Force debugging of partial- or non-HTML views in django-debug-toolbar.",
    "version": "0.2",
    "split_keywords": [
        "django",
        "django-debug-toolbar"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "363bff2e560d6c8514c0f6fca19f1ff7",
                "sha256": "3f580982051079dc5e85e13590d9f13d70bf012be693a81b167183cf9a3f6eec"
            },
            "downloads": -1,
            "filename": "django_debug_toolbar_force-0.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "363bff2e560d6c8514c0f6fca19f1ff7",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 29728,
            "upload_time": "2022-12-01T23:55:22",
            "upload_time_iso_8601": "2022-12-01T23:55:22.623323Z",
            "url": "https://files.pythonhosted.org/packages/69/e0/587e010a8e58c5c4d258260a39cc6b28ecdecdd8be7242c5433567744ed2/django_debug_toolbar_force-0.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "13945542558675d2ffdef117adfd39d8",
                "sha256": "2ab28dca4a5cd0261dfe555d709935f2dabbbb09b4be5ac0ce82103a8da0a735"
            },
            "downloads": -1,
            "filename": "django-debug-toolbar-force-0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "13945542558675d2ffdef117adfd39d8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 22789,
            "upload_time": "2022-12-01T23:55:25",
            "upload_time_iso_8601": "2022-12-01T23:55:25.109219Z",
            "url": "https://files.pythonhosted.org/packages/42/50/dd5da7546b5cc613fac977a1456cdac7e41b78c611c034cbfee579ca96e6/django-debug-toolbar-force-0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-01 23:55:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "barseghyanartur",
    "github_project": "django-debug-toolbar-force",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "django-debug-toolbar-force"
}
        
Elapsed time: 0.01369s