Metadata-Version: 1.1
Name: django-debug-toolbar-force
Version: 0.1.4
Summary: Force debugging of partial- or non-HTML views in django-debug-toolbar.
Home-page: https://github.com/barseghyanartur/django-debug-toolbar-force/
Author: Artur Barseghyan
Author-email: artur.barseghyan@gmail.com
License: GPL 2.0/LGPL 2.1
Description-Content-Type: UNKNOWN
Description: ==========================
        django-debug-toolbar-force
        ==========================
        Show ``django-debug-toolbar`` in non- or partial-HTML views.
        
        Prerequisites
        =============
        - Python 2.7, 3.4, 3.5, 3.6
        - Django 1.8, 1.9, 1.10, 1.11 and 2.0
        - 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
        
            or latest stable version from BitBucket:
        
            .. code-block:: sh
        
                pip install https://bitbucket.org/barseghyanartur/django-debug-toolbar-force/get/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
        
            ./runtests.py
        
        or use tox:
        
        .. code-block:: sh
        
            tox
        
        or use tox to check specific env:
        
        .. code-block:: sh
        
            tox -e py35
        
        License
        =======
        GPL 2.0/LGPL 2.1
        
        Support
        =======
        For any issues contact me at the e-mail given in the `Author`_ section.
        
        Author
        ======
        Artur Barseghyan <artur.barseghyan@gmail.com>
        
Keywords: django,django-debug-toolbar
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Environment :: Web Environment
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
