Merge pull request #272 from jlaska/config_delete_204

Return 204 NO_CONTENT on /config DELETE
This commit is contained in:
James Laska 2015-06-07 13:35:05 -04:00
commit be81c3f38a

View File

@ -272,7 +272,7 @@ class ApiV1ConfigView(APIView):
mongodb_control.delay('stop')
except OSError:
pass
return Response()
return Response(status=status.HTTP_204_NO_CONTENT)
class DashboardView(APIView):