mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
removed encoding from serialize
This commit is contained in:
parent
9d7cba109e
commit
1cca353e51
|
@ -40,9 +40,7 @@ class WebsocketBinding(Binding):
|
|||
"data": self.serialize_data(instance),
|
||||
"model": self.model_label,
|
||||
}
|
||||
# Encode for the stream
|
||||
assert self.stream is not None
|
||||
return WebsocketDemultiplexer.encode(self.stream, payload)
|
||||
return payload
|
||||
|
||||
def serialize_data(self, instance):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user