Question: what is the difference between path and url in django?
Answer: Given a URL such as https://www.djangoproject.com/download/ , the path is just /download/ . Sadly, Django often confuses paths and URLS. For example, all of the code examples for the get_absolute_url() method in the documentation return paths, not URLs. Some parts of Django do get it right though, such as request.