From d92e90f55550a8472a777e53a986c52410bc7497 Mon Sep 17 00:00:00 2001 From: SD Date: Fri, 29 Sep 2023 11:50:24 +0100 Subject: [PATCH] Update docs/guide/subscriptions.md Co-authored-by: Thiago Bellini Ribeiro --- docs/guide/subscriptions.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/guide/subscriptions.md b/docs/guide/subscriptions.md index 649c08ad..8051b75b 100644 --- a/docs/guide/subscriptions.md +++ b/docs/guide/subscriptions.md @@ -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, + ), ), ... ]