Opened 6 years ago

Closed 6 years ago

#19666 closed Bug (invalid)

choice_text in the detail template

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


In the doc website part 3 it says about the detail template:

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

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

{% endfor %}

But choice.choice does not exist. Should be choice.choice_text

Change History (1)

comment:1 Changed 6 years ago by Aymeric Augustin

Resolution: invalid
Status: newclosed

You're mixing versions 1.4 and 1.5/dev of the docs — you started the tutorial with one version and continued with the other.

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