Skip to content

Allow_subscriptions argument is not supported by class GraphQLView #351

Closed
@dionyself

Description

@dionyself

hello,
I'm not able to implement subscriptions
I get some error: Subscriptions are not allowed. You will need to either use the subscribe function or pass allow_subscriptions=True
even i am doing that
url(r'^graphql', PrivateGraphQLView.as_view(graphiql=True, schema=tenant_schema, allow_subscriptions=True))

i'm using graphene_django 2.0
ref:

def __init__(self, schema=None, executor=None, middleware=None, root_value=None, graphiql=False, pretty=False,

https://github.com/graphql-python/graphene-django/blob/master/graphene_django/views.py#L270

Thank you for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions