I have a view which receives a list of items in my app to be deleted. After the deletion, I need to return a page containing the same origin page plus a message like "the items (items here) have been successfully deleted".
So, after doing all the required stuff in the view, if I want to avoid the typical browser scenario where the user "accidentally" re-submits the POST information hitting the "reload" button (on that case the view would return an error because the items have been already deleted in the previous submit) I need to do an http redirect to an intermediate view. I am trying to use HttpResponseRedirect but I cannot figure out how to do this in a right way: If I use GET as a container for the items with the redirect call, the items will appear as part of the URL in the browser, this looks ugly to me I don't know how to add POST info in a Danjo-way to the HttpResponseRedirect, guess it's not possible unless I write the POST manually in the HttpResposeRedirect header/body (no!). Anyway, using POST to hide information also looks ugly to me. So I may try to pass the Django request object to hold all the information, that would be great, but how? thanks in advance, hector --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---