#18828: Tutorial Code/Syntax Error --------------------------------+--------------------------------- Reporter: knightxthyme@… | Owner: nobody Type: Uncategorized | Status: new Component: Documentation | Version: 1.4 Severity: Normal | Keywords: erorr, typo, syntax Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------+--------------------------------- In the '''tutorial part 04''', from the example code given for the “'''polls/detail.html'''” file, I believe:
<label for="choice{{ forloop.counter }}">{{ '''choice.choice''' }}</label><br /> Should simply be: <label for="choice{{ forloop.counter }}">{{ '''choice''' }}</label><br /> This is also the case for the “'''polls/results.html'''” where: <li>{{ '''choice.choice''' }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li> Should be: <li>{{ '''choice''' }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li> Thank you for putting up such good documentaries! I really value being able to learn things like this online. Thanks so much, I love Django. -- Ticket URL: <https://code.djangoproject.com/ticket/18828> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.