> How do I do a HttpResponsePermanentRedirect by POST method with
> params?
> Any ideas?

Not sure I understand the question.

Your view can return an HttpResponsePermanentRedirect, telling the
client to go to another url.  However, you can't cause the client to
post values to that url.

You could probably cause the client to post by returning a page which
contains a hidden form and some JavaScript that submits the from on
load.  But that's bad and wrong.  Hopefully you can find a cleaner way
to do what you want.

If you need to pass some information to a different page, you could
store it in session, return your redirect then read it from the
session when the client requests another view.

Scott


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to