mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
route was missing in import
This commit is contained in:
parent
29530a23b6
commit
c6f104f274
|
@ -116,7 +116,7 @@ our fixed group name again.
|
|||
Tie that into your routing, and tie each demultiplexed channel into the
|
||||
``.consumer`` attribute of the Binding, and you're ready to go::
|
||||
|
||||
from channels import route_class
|
||||
from channels import route_class, route
|
||||
from .consumers import Demultiplexer
|
||||
from .models import IntegerValueBinding
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user