#16561: incorrect url in template
------------------------------------------+-------------------------------
Reporter: tim.proffitt@… | Owner: nobody
Type: Bug | Status: closed
Milestone: | Component: Documentation
Version: 1.3 | Severity: Normal
Resolution: invalid | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------+-------------------------------
Changes (by SmileyChris):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
Decoupling the app's URL configuration shouldn't change anything here.
Looks like you didn't follow the instructions exactly, because you should
have `<a href="/polls/1/">...` (note the leading slash).
Here's something to look at after you've finished the tutorial, see if you
can avoid hard-coding the /polls/ prefix in the template at all (Hint: url
template tag or get_absolute_url+permalink decorator in the model)
--
Ticket URL: <https://code.djangoproject.com/ticket/16561#comment:1>
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.