DJANGO获取当前URL

获取带参数URL

request.get_full_path()


获取不带参数URL

request.path


你可能感兴趣的:(django,url,Path)