On 25 fév, 20:49, Timothy Kinney <[email protected]> wrote: > Thanks for the reply, Bruno. For some reason, that still doesn't work for > me. I can't figure out how to get reverse to work at all. But I took your > advice about HttpResponseRedirect and this worked fine: > > return HttpResponseRedirect('../') > > I was always trying to put views in HttpResponseRedirect.
views names or views functions ? IIRC, reverse() takes both. > I think I'll just > stick with urls. Mmmm... Fine for you if it works, but as far as I'm concerned I don't like it. I do use HttpResponseRedirect, but I pass in the result of a call to reverse(), always using named urls. OTHO, I don't know if admin urls are named. What you could do is try to find out the correct args for reverse - you can check this out in the shell. My 2 cents. -- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

