diff --git a/sapl/crud.py b/sapl/crud.py index 0a155e945..7cc675400 100644 --- a/sapl/crud.py +++ b/sapl/crud.py @@ -65,6 +65,7 @@ def build_crud(model, *layout): class CrudListView(BaseMixin, ListView): title = BaseMixin.verbose_name_plural + paginate_by = 10 class CrudCreateView(BaseMixin, FormMessagesMixin, CreateView): form_class = crud.model_form diff --git a/templates/comissoes/comissao_list.html b/templates/comissoes/comissao_list.html index 955dc6786..81b31034c 100644 --- a/templates/comissoes/comissao_list.html +++ b/templates/comissoes/comissao_list.html @@ -29,4 +29,36 @@ {% endfor %} + + {% if is_paginated %} + +{% endif %} {% endblock %}