Opened 9 years ago

Closed 9 years ago

#4221 closed (fixed)

tutorial 4 uses hardcoded, absolute URL instead of get_absolute_url() or permalink()

Reported by: anonymous Owned by: jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: UI/UX:


Tutorial 3 makes a big deal of not using absolute urls in an application. Then tutorial 4 includes an absolute URL in :(

return HttpResponseRedirect('/polls/%s/results/' %

Shouldn't it be using something like get_absolute_url instead?

Change History (2)

comment:1 Changed 9 years ago by Simon G. <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement set
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [5368]) Fixed #4221 -- Removed dependence on hard-coded URL in tutorial 4.

Note: See TracTickets for help on using tickets.
Back to Top