xxxxxxxxxx
{{ request.path }} # -without GET parameters
{{ request.get_full_path }} # - with GET parameters
xxxxxxxxxx
{{ request.build_absolute_uri }} #Domain, path and querystring
xxxxxxxxxx
views.py
print(request.path)
print(request.get_full_path)
image.mefiz.com
xxxxxxxxxx
{{ request.build_absolute_uri }}
// http://127.0.0.1:8000/home/?q=test