How to Get the Current URL in Django view code example
Example: how to get the current url path in django template
{{ request.path }} # -without GET parameters
{{ request.get_full_path }} # - with GET parameters
{{ request.path }} # -without GET parameters
{{ request.get_full_path }} # - with GET parameters