Answers for "django template current url"

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 template current url"

Python Answers by Framework

Browse Popular Code Answers by Language