diff --git a/README.md b/README.md index c50a6ea..1561015 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ class MyExampleViewSet(XLSXFileMixin, ReadOnlyModelViewSet): serializer_class = MyExampleSerializer renderer_classes = (XLSXRenderer,) filename = 'my_export.xlsx' + pagination_class = None # if you have custom pagination, you need to set this to None ``` The `XLSXFileMixin` also provides a `get_filename()` method which can be overridden, if you prefer to provide a filename programmatically instead of the `filename` attribute.