Opened 12 years ago

Closed 12 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: no UI/UX: no


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 12 years ago by Simon G. <dev@…>

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

comment:2 Changed 12 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

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

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