#18476: Hard coded template link causes conflict with tutorial statement
--------------------------------------+----------------------
Reporter: anonymous | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.4
Severity: Normal | Keywords: tutorial
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+----------------------
At the end of part 3 of the tutorial
(https://docs.djangoproject.com/en/1.4/intro/tutorial03/) the following
statement is made.
"The idea behind include() and URLconf decoupling is to make it easy to
plug-and-play URLs. Now that polls are in their own URLconf, they can be
placed under "/polls/", or under "/fun_polls/", or under
"/content/polls/", or any other path root, and the app will still work."
Due to a hard link to '/polls/' in the index.html template code for polls
(further up on the same page), simply changing the URLconf setting to
'/fun_polls/' or similar won't be enough to get things working (all the
way).
Not a big issue, but would be great to have that fixed to avoid confusion.
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/18476>
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.