Skip to content

Django Channels Instructions/Support is Outdated #54

Closed
@singlerider

Description

@singlerider
  • GraphQL AioWS version: 0.3.1
  • Python version: 3.9.0
  • Operating System: Ubuntu/Alpine
  • Django version: 3.1.2
  • Django Channels version: 2.4.0
  • ASGIRef version: 3.2.10

Description

The Django Channels Routing example is outdated:

ImportError: cannot import name 'route_class' from 'channels.routing' (/home/MYUSERNAME/.pyenv/versions/3.9.0/envs/ENVNAME/src/channels/channels/routing.py)

What I Did

route_class seems to be from 1.1.8x, which is from 2017. It's too old of a package for me to revert to. There are nested dependencies in Django and Channels. There should at least be an alternative in the instructions on how to achieve the same result in Channels 2.4.0+.

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