django 3 通过re_path来实现正则匹配
from django.urls import path, re_path
路由配置:
re_path(r'test/(?i)', include('apps.testData.urls')), # 测试数据
浏览器访问

django 3 通过re_path来实现正则匹配
from django.urls import path, re_path
路由配置:
re_path(r'test/(?i)', include('apps.testData.urls')), # 测试数据
浏览器访问
本文标题:django3 url路由配置忽略大小写
本文链接:https://www.haomeiwen.com/subject/petrfktx.html
网友评论