From 406460aaa66d17e1b1a9cee80cc6df4b33cf578b Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 4 Dec 2011 19:58:26 +0000 Subject: [PATCH] Paginate the blacklist --- app/hr/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/hr/views.py b/app/hr/views.py index 5bce4e5..2c5bb6e 100644 --- a/app/hr/views.py +++ b/app/hr/views.py @@ -415,6 +415,7 @@ 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'):