added some filters to templates
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user