django-commons / drf-excel

An XLSX spreadsheet renderer for Django REST Framework.
BSD 3-Clause "New" or "Revised" License
217 stars 40 forks source link

Include multiple sheet tags in the same Excel #17

Open BrianWang1990 opened 4 years ago

BrianWang1990 commented 4 years ago

This is a very useful package, but I encountered a small problem in use. Can we use it to include multiple sheet tags in the same Excel, and can set header information, etc.

FlipperPA commented 4 years ago

Right now, it only includes one sheet with the result set. How would you see multiple sheets used when there's only one result set provided by Django REST Framework available?

map0logo commented 4 years ago

I think that is possible processing a result given of several embedded structures as multiple sheets. It is just to build a serializer similar as using depth=1