mirror of
https://github.com/django/daphne.git
synced 2025-04-21 17:22:03 +03:00
Provide route and include at top level
This commit is contained in:
parent
acd31a663d
commit
afa46cfe0f
|
@ -6,5 +6,6 @@ DEFAULT_CHANNEL_LAYER = 'default'
|
|||
try:
|
||||
from .asgi import channel_layers # NOQA isort:skip
|
||||
from .channel import Channel, Group # NOQA isort:skip
|
||||
from .routing import route, include
|
||||
except ImportError: # No django installed, allow vars to be read
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user