Merge where I left backend-frameworkification #2

Manually merged
bss merged 18 commits from backend-frameworkification into master 2021-04-24 15:36:23 -05:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d5e5343193 - Show all commits

View File

@ -19,4 +19,4 @@ class PiLogViewSet(ReadOnlyModelViewSet):
def simulate(self, request):
"""Run one simulation of the pi estimator."""
simulation, _, _ = PiLog.objects.simulate()
return Response(self.get_serializer(simulation).data)
return Response(self.get_serializer(simulation).data, 201)