在 Django 2.x 以后的版本中,将 url 改为了 path,且 path 不匹配正则,因此需要通过导入 from django.urls import re_path 使用 re_path 来达到正则匹配的目的