Opened 12 years ago

Closed 12 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)

in reply to:  description comment:1 by zenglu.liu@…, 12 years ago

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 by anonymous, 12 years ago

Resolution: invalid
Status: newclosed

comment:3 by Aymeric Augustin, 12 years ago

Resolution: invalid
Status: closedreopened

If this is really invalid, please explain why :)

comment:4 by anonymous, 12 years ago

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 by Claude Paroz, 12 years ago

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