diff --git a/app/hr/views.py b/app/hr/views.py index 2c5bb6e..b7e3639 100644 --- a/app/hr/views.py +++ b/app/hr/views.py @@ -385,6 +385,7 @@ class HrBlacklistList(ListView): model = Blacklist allow_empty = True + paginate_by = 25 def get_queryset(self): @@ -415,7 +416,6 @@ class HrAddBlacklist(CreateView): model = Blacklist template_name = 'hr/blacklist_add.html' - paginate_by = 25 def dispatch(self, request, *args, **kwargs): if not request.user.has_perm('hr.add_blacklist'):