I know it's fairly simple to add a redirect to Django with HttpResponseRedirect, but is it possible to make a delayed redirect?
What I want to add is like a confirmation page for the user that will basically say that "Your request has been successful" for 3 seconds and then be taken back to the login page or something.
I've read about JQuery, but as far as I know that's for JavaScript and I want to keep this as Python as possible.
Any ideas?
You can use a templateView to display your "successful" page then in the template add
<meta http-equiv="refresh" content="3;url=http://foobar.somewhereelse.com/">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With