drf-excel icon indicating copy to clipboard operation
drf-excel copied to clipboard

An XLSX spreadsheet renderer for Django REST Framework.

Results 10 drf-excel issues
Sort by recently updated
recently updated
newest added

If I have a integerField, the excel column will be number but if I have a method in my model or serializer that return int, the excel column will be...

As mentioned in https://github.com/wharton/drf-excel/issues/61 it doesn't work when a ListField has a null value in it. This should fix that 🥳

So for reasons I have the endpoint and I do some various manipulation aggregating various stuff (without a model) and generating a dict with the data that I want in...

Currently `XLSXListField` does not behave very nicely if _prepping_ a value of `None`. This field corresponds to DRF's `ListField`, which [does support ](https://github.com/encode/django-rest-framework/issues/5951#issuecomment-383285617) `allow_null=True`. ``` def prep_value(self) -> Any: >...

enhancement
help wanted
good first issue

Hello, thanks for the library, it is a great contribution and very useful. Is it possible to set the column width, automatic for each column take the minimum possible width?...

enhancement
help wanted

I work a lot with related fields which are 1-M, and currently anything that is an array of objects just gets the whole child json dumped into one field. It...

help wanted

There is a problem occuring with the validation checker. The current one: ```python def _check_validatation_data(self, data): detail_key = "detail" if detail_key in data: return False return True ``` checks only...

I have a model with column UUID ` id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) ` So when I use it as render class: `renderer_classes = (XLSXRenderer, ) ` I get: _ValueError:...

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...

This package is powerfull, formatting and the like support, nice. But I'm struggling with basic stuff: when adding only the `titles` key to my `column_header` config attribute of my view,...