Commit 05f7bbef authored by John Red Medrano's avatar John Red Medrano

fixing

parent eac690f5
......@@ -31,7 +31,7 @@ class DownloadRequest(XLSXFileMixin, ReadOnlyModelViewSet):
Q(frm_stakes__user__code=id_number)
).distinct()
serializer = headers(data=data, many=True)
serializer = headers(data=data, many=True, context={'request': request})
serializer.is_valid(raise_exception=False)
return Response(serializer.data)
......
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