Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to get the current url path in django template

{{ request.path }}  #  -without GET parameters 
{{ request.get_full_path }}  # - with GET parameters
 
PREVIOUS NEXT
Tagged: #current #url #path #django #template
ADD COMMENT
Topic
Name
2+7 =