Opened 12 years ago

Closed 12 years ago

#18500 closed Uncategorized (invalid)

Part 3 tutorial - field is choice_text

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.4
Severity: Normal Keywords: documentation, error
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

in the following part {{ choice.choice }} should be {{ choice.choice_text }} / "Use the template system" section / part 3 tutorial

<h1>{{ poll.question }}</h1>
<ul>
{% for choice in poll.choice_set.all %}

<li>{{ choice.choice }}</li>

{% endfor %}
</ul>

Change History (2)

comment:1 by Luke Plant, 12 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Claude Paroz, 12 years ago

Resolution: invalid
Status: newclosed

It seems you are mixing versions 1.4 and dev of the tutorial. choice.choice has been renamed choice.choice_text in the development version (and appears correctly in the section you mention).

Note: See TracTickets for help on using tickets.
Back to Top