To get the URI in Django template we will use
{{ request.path }} then {{ request.get_full_path }}

BY Best Interview Question ON 14 Sep 2019