added some filters to templates
This commit is contained in:
@@ -26,7 +26,7 @@ class ClientCompanyListView(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 = 'client-base.html'
|
||||
|
||||
def test_func(self):
|
||||
@@ -86,7 +86,7 @@ class ClientLineListView(LoginRequiredMixin, UserPassesTestMixin, ListView):
|
||||
model = LinesModel
|
||||
template_name = 'client/line-list.html'
|
||||
context_object_name = 'objects'
|
||||
paginate_by = 3
|
||||
paginate_by = 20
|
||||
# base_template = 'client-base.html'
|
||||
|
||||
def test_func(self):
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user