Documentation should include page argument of object_list
Currently, the generic view documentation at http://www.djangoproject.com/documentation/generic_views/#django-views-generic-list-detail-object-list makes no mention of the page keyword argument, which is the current page being viewed. This is transparent if you are calling object_list from the urlconf, since the view receives this argument on its own. However, if you are writing a wrapper around object_list, it is important to know that it accepts the page argument since you must intercept it and pass it yourself. Otherwise the view will not function properly with pagination.
Change History
(9)
Needs documentation: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ duplicate
|
Status: |
new → closed
|
Resolution: |
duplicate
|
Status: |
closed → reopened
|
Owner: |
changed from nobody to Nick Efford
|
Status: |
reopened → new
|
Owner: |
changed from Nick Efford to mitja
|
Status: |
new → assigned
|
Has patch: |
set
|
Keywords: |
sprintsept14 added
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Marked as duplicate as this was patched in #4330 and fixed in [5293].