dispatch: include 'message': "" in /message GET

mostly as a hint to illustrate how to use the thing
This commit is contained in:
Brian S. Stephan 2015-06-19 15:10:21 -05:00
parent 3532b073c4
commit bece1745b3
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class DispatchMessage(generics.GenericAPIView):
def get(self, request, *args, **kwargs):
dispatcher = self.get_object()
data = {'status': "READY"}
data = {'message': "", 'status': "READY"}
message = self.serializer_class(data=data)
return Response(message.initial_data)