update design and add pagination
This commit is contained in:
@@ -106,6 +106,9 @@ class ResolutionListView(LoginRequiredMixin, ListView):
|
||||
model = Resolution
|
||||
template_name = "finance/resolution_list.html"
|
||||
|
||||
ordering = ["-id"]
|
||||
paginate_by = 10
|
||||
|
||||
|
||||
class ResolutionUpdateView(LoginRequiredMixin, UpdateView):
|
||||
form_class = ResolutionUpdateForm
|
||||
|
||||
Reference in New Issue
Block a user