#33144: get_elided_page_range() method doesn't work properly.
-------------------------------------+-------------------------------------
Reporter: axinterop | Owner: nobody
Type: Bug | Status: closed
Component: Generic views | Version: 3.2
Severity: Normal | Resolution: invalid
Keywords: paginator, | Triage Stage:
pagination, | Unreviewed
get_elided_page_range, ListView |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
Comment:
Thanks for the report, however it's an issue in your code not in Django
itself. `get_elided_page_range()` is a method not an attribute, and
shouldn't be called directly on templates. You can check how it's used in
admin, see
[https://github.com/django/django/blob/8036b53de61f16098a2f22c50621987182bdfaed/django/contrib/admin/templatetags/admin_list.py#L47-L61
pagination()]. If you're having trouble understanding how Django works,
see TicketClosingReasons/UseSupportChannels for ways to get help
--
Ticket URL: <https://code.djangoproject.com/ticket/33144#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.3f77cf42d122264e8693815112ea960a%40djangoproject.com.