admin(major): add pagination to all listviews

This commit is contained in:
Langhammer, Jens
2019-10-14 13:15:42 +02:00
parent a6dee2e8ed
commit 2a27325dfd
19 changed files with 22 additions and 8 deletions

View File

@ -15,6 +15,7 @@ class ProviderListView(AdminRequiredMixin, ListView):
"""Show list of all providers"""
model = Provider
paginate_by = 40
template_name = 'administration/provider/list.html'
def get_context_data(self, **kwargs):