added some filters to templates

This commit is contained in:
2025-08-03 10:50:59 +03:00
parent e824e87953
commit 13c4c324fc
29 changed files with 180 additions and 89 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class ClientPreinfoView(LoginRequiredMixin, UserPassesTestMixin, ListView):
# ListView
model = Preinfo
template_name = 'client/preinfo-list.html'
paginate_by = 4
paginate_by = 20
# CRUDListView template
context_object_name = 'objects'
+1 -1
View File
@@ -7,7 +7,7 @@ class EmployeePreinfoView(LoginRequiredMixin, UserPassesTestMixin, ListView):
model = Preinfo
template_name = 'employee/preinfo-list.html'
context_object_name = 'objects'
paginate_by = 30
paginate_by = 20
form_class = PreinfoEditForm
# base_template = 'employee-base.html'