Skip to content

Commit

Permalink
Update docs/guide/subscriptions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Thiago Bellini Ribeiro <hackedbellini@gmail.com>
  • Loading branch information
sdobbelaere and bellini666 authored Sep 29, 2023
1 parent d8fe53d commit d92e90f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/guide/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ Also, ensure that you enable subscriptions on your AsgiGraphQLView in `MyProject

urlpatterns = [
...
path('graphql/', AsyncGraphQLView.as_view(
schema=schema,
graphiql=settings.DEBUG,
subscriptions_enabled=True
)
path(
'graphql/',
AsyncGraphQLView.as_view(
schema=schema,
graphiql=settings.DEBUG,
subscriptions_enabled=True,
),
),
...
]
Expand Down

0 comments on commit d92e90f

Please # to comment.