Answers for "django get current url name in template"

0

how to get the current url path in django template

{{ request.path }}  #  -without GET parameters 
{{ request.get_full_path }}  # - with GET parameters
Posted by: Guest on August-03-2020
0

How to get current page url in django template

{{ request.build_absolute_uri }} #Domain, path and querystring
Posted by: Guest on July-10-2021

Code answers related to "django get current url name in template"

Python Answers by Framework

Browse Popular Code Answers by Language