mirror of
https://github.com/django/daphne.git
synced 2025-08-04 18:40:09 +03:00
Add missing import in 'Models' example code
This commit is contained in:
parent
8c86a29761
commit
a2fea85754
|
@ -661,7 +661,7 @@ Let's see what that looks like, assuming we
|
|||
have a ChatMessage model with ``message`` and ``room`` fields::
|
||||
|
||||
# In consumers.py
|
||||
from channels import Channel
|
||||
from channels import Channel, Group
|
||||
from channels.sessions import channel_session
|
||||
from .models import ChatMessage
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user