diff --git a/channels/binding/websockets.py b/channels/binding/websockets.py index 2cff4ec..56a1a6c 100644 --- a/channels/binding/websockets.py +++ b/channels/binding/websockets.py @@ -38,6 +38,7 @@ class WebsocketBinding(Binding): "action": action, "pk": instance.pk, "data": self.serialize_data(instance), + "model": self.model_label, } # Encode for the stream assert self.stream is not None