feat(software): add pagination for index

!5
This commit is contained in:
2024-05-17 16:43:58 +09:30
parent 789b4a55d6
commit 6f6031fb1e
2 changed files with 20 additions and 0 deletions

View File

@ -13,6 +13,7 @@ class IndexView(PermissionRequiredMixin, OrganizationPermission, generic.ListVie
permission_required = 'itam.view_software'
template_name = 'itam/software_index.html.j2'
context_object_name = "softwares"
paginate_by = 10
def get_queryset(self):