diff options
Diffstat (limited to 'apps/patchwork/paginator.py')
-rw-r--r-- | apps/patchwork/paginator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/paginator.py b/apps/patchwork/paginator.py index 8d8be64..31c0190 100644 --- a/apps/patchwork/paginator.py +++ b/apps/patchwork/paginator.py @@ -37,7 +37,7 @@ class Paginator(paginator.Paginator): patches_per_page = settings.DEFAULT_PATCHES_PER_PAGE if request.user.is_authenticated(): - patches_per_page = request.user.get_profile().patches_per_page + patches_per_page = request.user.profile.patches_per_page n = request.META.get('ppp') if n: |