Opened 5 years ago

Closed 5 years ago

#18106 closed Bug (invalid)

documents error on topic pagination

Reported by: zenglu.liu@… Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: pagination
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

{% for contact in contacts %}

should be

{% for contact in contacts.object_list %}

Change History (5)

comment:1 in reply to:  description Changed 5 years ago by zenglu.liu@…

Replying to zenglu.liu@…:

{% for contact in contacts %}

should be

{% for contact in contacts.object_list %}

the document is here:

https://docs.djangoproject.com/en/1.4/topics/pagination/

comment:2 Changed 5 years ago by anonymous

Resolution: invalid
Status: newclosed

comment:3 Changed 5 years ago by Aymeric Augustin

Resolution: invalid
Status: closedreopened

If this is really invalid, please explain why :)

comment:4 Changed 5 years ago by anonymous

I am sorry, I did not read the following lines:

Changed in Django 1.4: Previously, you would need to use {% for contact in contacts.object_list %}, since the Page object was not iterable.

The document is OK.

comment:5 Changed 5 years ago by Claude Paroz

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.
Back to Top