I know that it is possible to know which view you came from using a GET parameter. Ref: Django Redirect to previous view. However, if you do a POST on the current view, this information gets wiped.
For my purpose I have a django application where you can get to the same view, that has a form and a back button, from multiple destinations. Everything works fine until you submit the form, and then gets redirected to the same view without any information regarding where you came from in the beginning.
Please comment if any examples is needed to understand my question.
Aucun commentaire:
Enregistrer un commentaire