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

@ -23,6 +23,7 @@ class PropertyMappingListView(AdminRequiredMixin, ListView):
model = PropertyMapping
template_name = 'administration/property_mapping/list.html'
ordering = 'name'
paginate_by = 40
def get_context_data(self, **kwargs):
kwargs['types'] = {