如何从 Django 中的请求对象获取 URI?
有 request.uri 吗?
request.META['REQUEST_URI']
or
request.get_full_path()
你往往会产生大量琐碎的问题,你可以在文档/谷歌中轻松找到答案......