Merge pull request #258 from AlexejStukov/patch-7

add a modelname to the payload dict
This commit is contained in:
Andrew Godwin 2016-07-20 13:36:04 -04:00 committed by GitHub
commit 91c51d106e

View File

@ -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