django-graphiql-0.4.4
توضیحات
Integrate GraphiQL easily into your Django project
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-graphiql-0.4.4 |
| نام | django-graphiql |
| نسخه کتابخانه | 0.4.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Syrus Akbary |
| ایمیل نویسنده | me@syrusakbary.com |
| آدرس صفحه اصلی | http://github.com/graphql-python/django-graphiql |
| آدرس اینترنتی | https://pypi.org/project/django-graphiql/ |
| مجوز | MIT |
Django GraphiQL
===============
.. image:: https://badge.fury.io/py/django-graphiql.svg
:target: https://badge.fury.io/py/django-graphiql
Django GraphiQL is a library for integrating `GraphiQL`_ inside your
Django project, so you can test your `GraphQL`_ schemas easily.
This library versioning go in partity with GraphiQL.
Installing
----------
For installing this library just run in your favorite shell:
.. code:: bash
pip install django-graphiql
Configuring
-----------
In settings.py add ``'django_graphiql'`` into ``INSTALLED_APPS``, so it
will look like
.. code:: python
INSTALLED_APPS = [
# ...
'django_graphiql',
# ...
]
And then, add into your urls.py:
.. code:: python
urlpatterns = [
# Your other urls...
url(r'^graphiql', include('django_graphiql.urls')),
]
.. _GraphiQL: https://github.com/graphql/graphiql
.. _GraphQL: https://github.com/graphql-python/graphql-core
نحوه نصب
نصب پکیج whl django-graphiql-0.4.4:
pip install django-graphiql-0.4.4.whl
نصب پکیج tar.gz django-graphiql-0.4.4:
pip install django-graphiql-0.4.4.tar.gz