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 , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
It seems you are mixing versions 1.4 and dev of the tutorial.
choice.choice
has been renamedchoice.choice_text
in the development version (and appears correctly in the section you mention).