django3 url路由配置忽略大小写
2020-06-24 本文已影响0人
Mlotjve
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')), # 测试数据
浏览器访问