From bece1745b3729852672adf9831b2fd083bbeef45 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 19 Jun 2015 15:10:21 -0500 Subject: [PATCH] dispatch: include 'message': "" in /message GET mostly as a hint to illustrate how to use the thing --- dr_botzo/dispatch/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr_botzo/dispatch/views.py b/dr_botzo/dispatch/views.py index 938e3fe..17ea73a 100644 --- a/dr_botzo/dispatch/views.py +++ b/dr_botzo/dispatch/views.py @@ -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)