摘要: 下面是官方文档的内容,如果在urls.py中使用到正则匹配路径(^$)的时候,就需要使用re_path,而不能使用path,不然页面会显示404错误, 如果未用到正则,那么使用path即可。 re_path()¶ Returns an element for inclusion in urlpatt 阅读全文
posted @ 2018-07-06 19:30 East~L 阅读(327) 评论(0) 推荐(0) 编辑