Opened 13 years ago
Closed 13 years ago
#18106 closed Bug (invalid)
documents error on topic pagination
Reported by: | 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 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 by , 13 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
If this is really invalid, please explain why :)
comment:4 by , 13 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 , 13 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Replying to zenglu.liu@…:
the document is here:
https://docs.djangoproject.com/en/1.4/topics/pagination/