#18723 closed Uncategorized (invalid)
Decoupled urls syntax in docs differs from what works on my platform
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
I'm just running through the tutorial and found that at the end of Part 3, where decoupled urls are introduced, I was getting an error which was resolved by removing the single quotes. Like this
<li><a href="{% url polls.views.detail poll.id %}">{{ poll.question }}</a></li>
Maybe this is platform specific? I'm running django on arch linux installed from the official repos.
Note:
See TracTickets
for help on using tickets.
You're following the tutorial for the in-development version of Django, but using an earlier release (probably 1.4).
Please use the documentation for your version of Django.
Duplicate of many other tickets.