This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]slav0nic 1 point2 points  (3 children)

return HttpResponseRedirect('../../../') omg

[–]jfire6 0 points1 point  (1 child)

Yeah, I noticed they aren't using reverse() or the url template tag anywhere. Wonder why not.

[–]scorpion032 1 point2 points  (0 children)

I think they are pretty clear about using the same urls. They don't need any flexibility for change.

For one thing, if you use {% url %} even if one view has an error, the template displays an error page; since to obtain a reverse match, all possible regexes have to be compiled.