Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pagination issue #99

Merged
merged 1 commit into from
Oct 14, 2024
Merged

fix pagination issue #99

merged 1 commit into from
Oct 14, 2024

Conversation

CorneiZeR
Copy link
Contributor

@CorneiZeR CorneiZeR commented Oct 14, 2024

fix for that issue

Fix #98

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@48b09e5). Learn more about missing BASE report.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage        ?   92.87%           
=======================================
  Files           ?        4           
  Lines           ?      351           
  Branches        ?        0           
=======================================
  Hits            ?      326           
  Misses          ?       25           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline comments should be at least two spaces after the code: https://peps.python.org/pep-0008/#inline-comments

I'll take care of this. Thanks for your sleuthing!

@FlipperPA FlipperPA merged commit 33c9644 into django-commons:main Oct 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pagination classes issue
3 participants