Answers for "get base url in django"

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
3

django get parameters from url

message = request.GET.get('message')
Posted by: Guest on September-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language