add a modelname to the payload dict

see #256
This commit is contained in:
AlexejStukov 2016-07-20 18:21:23 +02:00 committed by GitHub
parent 29530a23b6
commit bb74c80b71

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