django get current url <int> 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