Opened 12 years ago
Closed 12 years ago
#19359 closed Bug (invalid)
Small error in the tutorial
Reported by: | 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: | yes | UI/UX: | no |
Description
At: https://docs.djangoproject.com/en/dev/intro/tutorial03/#namespacing-url-names
Last step says:
<li><a href="{% url 'polls:detail' poll.id %}">{{ poll.question }}</a></li>
This doesn't seem to work. Without the quotes around polls:detail
however, it seems to work as expected.
Note:
See TracTickets
for help on using tickets.
You are most likely using a released version of Django while using the development version of the docs - use the widget at the bottom right of the docs widget to switch to the matching version of the docs - and note that this part of the tutorial was using a deprecated (on-the-way-out) use of the url tag.