mirror of
https://github.com/django/daphne.git
synced 2025-07-10 16:02:18 +03:00
parent
29530a23b6
commit
bb74c80b71
|
@ -38,6 +38,7 @@ class WebsocketBinding(Binding):
|
||||||
"action": action,
|
"action": action,
|
||||||
"pk": instance.pk,
|
"pk": instance.pk,
|
||||||
"data": self.serialize_data(instance),
|
"data": self.serialize_data(instance),
|
||||||
|
"model": self.model_label,
|
||||||
}
|
}
|
||||||
# Encode for the stream
|
# Encode for the stream
|
||||||
assert self.stream is not None
|
assert self.stream is not None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user