1.记得要先导入redirect
2.打开访问路径
提交信息之后就会跳转到指定的链接
django中的url重定向----redirect
原文:https://www.cnblogs.com/learning-python/p/10247094.html