摘要: return HttpResponseRedirect('/index/')# 重定向返回url格式:http://127.0.0.1:8000/index/会去掉前期的所有路由重新写入/index/'路由urls代码 from django.urls import pathfrom django. 阅读全文
posted @ 2018-12-22 17:36 CelonY 阅读(519) 评论(0) 推荐(0)