路由匹配字母数字写法

    url(r'^invite_code/(?P<invite_code>[a-zA-Z0-9]+)/$', candidate_views.AiReportViewSet.as_view({'get': 'retrieve'})),

匹配字母,数字写法

原文地址:https://www.cnblogs.com/tangda/p/13667885.html