Tuesday, November 28, 2017

Django admin pagination zero based?

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.

--
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-users@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.

No comments:

Post a Comment