[Answered ]-How to use an action in a form, but still ultimately redirect to the original URL, as smoothly as possible

2👍

Use the redirect shortcut at the end of your view.

0👍

I actually used HTTPResponseRedirect, because the redirect shortcut wouldn’t accept a URL and was expecting a filepath for some reason.

Evidently there are a few ways to do this (tsk, tsk Django, not following the Python language principle so well). Haha, I’m happy something’s working though!

👤rofls

Leave a comment