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, + ), ), ... ]