mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-10 16:22:20 +03:00
added luna
This commit is contained in:
parent
0048c75edf
commit
22f0a73130
|
@ -5,6 +5,14 @@ The ``graphene-django`` project does not currently support GraphQL subscriptions
|
||||||
several community-driven modules for adding subscription support, and the provided GraphiQL interface supports
|
several community-driven modules for adding subscription support, and the provided GraphiQL interface supports
|
||||||
running subscription operations over a websocket.
|
running subscription operations over a websocket.
|
||||||
|
|
||||||
|
## Using Native Asynchronous Django
|
||||||
|
|
||||||
|
`Graphene Luna <https://github.com/cognitive-space/graphene-luna>` uses Django's built in asynchronous support to
|
||||||
|
create GraphQL subscriptions. Luna supports ``graphene-django`` version 3.0+. Luna allows you to you to quickly and
|
||||||
|
easily setup subscriptions in Django.
|
||||||
|
|
||||||
|
## Using Django Channels
|
||||||
|
|
||||||
To implement websocket-based support for GraphQL subscriptions, you’ll need to do the following:
|
To implement websocket-based support for GraphQL subscriptions, you’ll need to do the following:
|
||||||
|
|
||||||
1. Install and configure `django-channels <https://channels.readthedocs.io/en/latest/installation.html>`_.
|
1. Install and configure `django-channels <https://channels.readthedocs.io/en/latest/installation.html>`_.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user