redirect(URL('index', args=(1,2,3), vars=dict(a='b'))) |
If the called action performs a redirect, you may want the Ajax request to follow the redirect or you may want the entire page performing the Ajax request redirecting. In this latter case you can set:
redirect(...,client_side=True)