Commit b4a68251 authored by Rafal's avatar Rafal

repair

parent 99a7325f
......@@ -32,6 +32,7 @@ class APIViewSet(viewsets.ModelViewSet):
def xd(self,request, pk=None):
api = get_object_or_404(APIViewSet.queryset, pk=pk)
api_data = json.dumps(api.data)
api_data = json.loads(api_data)
return Response(status=rest_framework.status.HTTP_200_OK, data=api_data)
@staticmethod
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment