Django1.x版本url正则匹配如下:
Django2.0版本正则匹配则要导入re_path模块如下:
转载于:https://www.cnblogs.com/Dev0ps/p/9890861.html