Django admin pagination zero based?

35 views
Skip to first unread message

Daniel Jewett

unread,
Nov 28, 2017, 1:00:24 PM11/28/17
to Django users
I just noticed that the URL get string in my admin app is off by one from the auto generated pagination links. It appears that the pagination URLs are zero based.

For example if I'm on page 4 of results according to the pagination links, the URL looks like '?p=3'

Is this typical? Any suggestions on how to get them matched up?

Thanks!

-Dan J.

Matemática A3K

unread,
Nov 29, 2017, 12:28:30 AM11/29/17
to django...@googlegroups.com
On Tue, Nov 28, 2017 at 3:00 PM, Daniel Jewett <d...@solidether.net> wrote:
I just noticed that the URL get string in my admin app is off by one from the auto generated pagination links. It appears that the pagination URLs are zero based.

For example if I'm on page 4 of results according to the pagination links, the URL looks like '?p=3'

Is this typical?

Yup :)
 
Any suggestions on how to get them matched up?


 
Thanks!

-Dan J.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a4d14e7f-20d0-49c7-a42d-5535e697c33b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages