I have function which redirect to a URL.
return redirect('/orders')
The URL /orders
has some context data which is being passed to it.
I want to pass some additional data along with data from the URL's function in view like:
return redirect('/orders', {'message':'some_message'})
I tried like this according to documentation:
return redirect('/orders', message='some_message')
But it didn't passed any data back to html. So how to pass data with redirect?