ceate excel for herd and livestock

This commit is contained in:
7nimor
2025-08-06 09:25:55 +03:30
parent 74ca5ba82a
commit 8dddce173e

View File

@@ -16,7 +16,7 @@ class LiveStockExcelViewSet(viewsets.ModelViewSet, ExcelDynamicSearchMixin):
queryset = LiveStock.objects.all() queryset = LiveStock.objects.all()
serializer_class = LiveStockSerializer serializer_class = LiveStockSerializer
# noqa # دامداران # noqa # دام ها
@action( @action(
methods=['get'], methods=['get'],
detail=False, detail=False,
@@ -94,5 +94,3 @@ class LiveStockExcelViewSet(viewsets.ModelViewSet, ExcelDynamicSearchMixin):
'utf-8') 'utf-8')
response.write(output.getvalue()) response.write(output.getvalue())
return response return response
# noqa # دامداران