1👍
✅
You can’t be directed to another template, you can only be directed to another view. (A template is pretty much irrelevant to the whole request/response cycle; it’s just one of the ways that Django can produce a response, but isn’t a necessary part of it and can even be used outside it, for example in sending emails.)
The way to preserve state between views is to use sessions.
Source:stackexchange.com