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
+2 -2
View File
@@ -32,7 +32,7 @@ class EmployeeCompanyListView(LoginRequiredMixin, UserPassesTestMixin, ListView)
model = CompanyModel
template_name = 'common/../../templates/employee/company-list.html'
context_object_name = 'objects'
paginate_by = 3
paginate_by = 20
# base_template = 'employee-base.html'
def test_func(self):
@@ -88,7 +88,7 @@ class EmployeeLineListView(LoginRequiredMixin, UserPassesTestMixin, ListView):
model = LinesModel
template_name = 'employee/line-list.html'
context_object_name = 'objects'
paginate_by = 3
paginate_by = 20
# base_template = 'employee-base.html'
def test_func(self):