django: search forms and redirect

Posted by gruszczy on Stack Overflow See other posts from Stack Overflow or by gruszczy
Published on 2010-03-17T10:15:55Z Indexed on 2010/03/17 10:31 UTC
Read the original article Hit count: 520

Filed under:
|
|
|

After processing form from POST I should redirect, to prevent user from hitting back. However, I am using form to determine search query on a database, so I need to either pass params to the redirected site or the result of a search. Or maybe there is some other good practice, how to solve this problem? Maybe in this situation I am allowed not to redirect (nothing happens, if user performs search again).

© Stack Overflow or respective owner

Related posts about python

Related posts about django