Hard coded template link causes conflict with tutorial statement
|Reported by:||anonymous||Owned by:||Tim Graham <timograham@…>|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
Change History (6)
comment:1 Changed 3 years ago by claudep
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 3 years ago by renatooliveira
- Owner changed from nobody to renatooliveira
- Status changed from new to assigned
Changed 3 years ago by renatooliveira
Changed 3 years ago by claudep
comment:3 Changed 3 years ago by claudep
- Has patch set
- Owner renatooliveira deleted
- Status changed from assigned to new