mirror of
https://github.com/django/daphne.git
synced 2025-06-29 09:23:10 +03:00
Merge pull request #257 from AlexejStukov/patch-6
route was missing in import
This commit is contained in:
commit
f85c992cda
|
@ -116,7 +116,7 @@ our fixed group name again.
|
||||||
Tie that into your routing, and tie each demultiplexed channel into the
|
Tie that into your routing, and tie each demultiplexed channel into the
|
||||||
``.consumer`` attribute of the Binding, and you're ready to go::
|
``.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 .consumers import Demultiplexer
|
||||||
from .models import IntegerValueBinding
|
from .models import IntegerValueBinding
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user