def match(self, request):
"""Matches this route against the current request.
.. seealso:: :meth:`BaseRoute.match`.
"""
match = self.regex.match(unquote(request.path))
if match:
return self, match.groups(), {}
评论列表
文章目录