Opened 6 years ago

Closed 6 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


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

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

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

{% endfor %}

Change History (2)

comment:1 Changed 6 years ago by Luke Plant

Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Claude Paroz

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