If you want to completely disable pagination on a admin listview page, you can do this.
import sys
...
@admin.register(Hero)
class HeroAdmin(admin.ModelAdmin, ExportCsvMixin):
...
list_per_page = sys.maxsize
You can also read How to show larger number of rows on listview page?.
No comments:
Post a Comment