#16667: Error in Pagination-Template?
---------------------------+-------------------------------
Reporter: Aufwind | Owner: nobody
Type: Uncategorized | Status: new
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------+-------------------------------
Hi,
I am following your tutorial and the documentation to learn Django and I
found, that the first template snippet on this page
(https://docs.djangoproject.com/en/dev/topics/pagination/) is wrong. The
first line must be
{% for contact in contacts.object_list %}
(like in the 1.3 Version of the Docs) and not
{% for contact in contacts %}
I was struggling with this for some hours until I found the solution that
seemed to work. Please note, that I am an absolute beginner with Django.
So bare with me if my guess is wrong and the fault was something else.
Anyway I thought of opening a ticket may help but does not harm.
Greetings,
Aufwind
--
Ticket URL: <https://code.djangoproject.com/ticket/16667>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.