Fixed #23158 - Documentation error on pagination p.page_range

related to ticket https://code.djangoproject.com/ticket/23158