Metadata-Version: 2.0
Name: django-graphiql-debug-toolbar
Version: 0.0.2
Summary: Django Debug Toolbar for GraphiQL IDE
Home-page: https://github.com/flavors/django-graphiql-debug-toolbar/
Author: mongkok
Author-email: domake.io@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Requires-Dist: Django (>=1.11)
Requires-Dist: graphene-django (>=2.0.0)
Requires-Dist: django-debug-toolbar (>=1.8)

Django GraphiQL Debug Toolbar
=============================

|Pypi| |Wheel| |Build Status| |Codecov| |Code Climate|


Django `Debug Toolbar`_ for `GraphiQL`_ IDE

.. _GraphiQL: https://github.com/graphql/graphiql
.. _Debug Toolbar: https://github.com/jazzband/django-debug-toolbar


.. image:: https://user-images.githubusercontent.com/5514990/36340939-23036dbe-1419-11e8-8a59-a04503b0f62c.gif

Dependencies
------------

* Python ≥ 3.4
* Django ≥ 1.11


Installation
------------

Install last stable version from Pypi.

.. code:: sh

    pip install django-graphiql-debug-toolbar


Add ``graphiql_debug_toolbar`` to your *INSTALLED_APPS* settings:

.. code:: python

    INSTALLED_APPS = [
        ...
        'debug_toolbar',
        'graphiql_debug_toolbar',
    ]


**Replace** the Django Debug Toolbar **middleware** with the GraphiQL Debug Toolbar one. 

.. code:: python

    MIDDLEWARE = [
        ...
        # 'debug_toolbar.middleware.DebugToolbarMiddleware',
        'graphiql_debug_toolbar.middleware.DebugToolbarMiddleware',
        ...
    ]

Limitations
-----------

Panels rendering is not supported in multiprocess environment.

----

Credits to `@jazzband`_ / `django-debug-toolbar`_.

.. _@jazzband: https://jazzband.co
.. _django-debug-toolbar: https://github.com/jazzband/django-debug-toolbar


.. |Pypi| image:: https://img.shields.io/pypi/v/django-graphiql-debug-toolbar.svg
   :target: https://pypi.python.org/pypi/django-graphiql-debug-toolbar

.. |Wheel| image:: https://img.shields.io/pypi/wheel/django-graphiql-debug-toolbar.svg
   :target: https://pypi.python.org/pypi/django-graphiql-debug-toolbar

.. |Build Status| image:: https://travis-ci.org/flavors/django-graphiql-debug-toolbar.svg?branch=master
   :target: https://travis-ci.org/flavors/django-graphiql-debug-toolbar

.. |Codecov| image:: https://img.shields.io/codecov/c/github/flavors/django-graphiql-debug-toolbar.svg
   :target: https://codecov.io/gh/flavors/django-graphiql-debug-toolbar

.. |Code Climate| image:: https://api.codeclimate.com/v1/badges/f73a62cdc95139a15a4b/maintainability
   :target: https://codeclimate.com/github/flavors/django-graphiql-debug-toolbar


