django get request url inside a view code example
Example 1: how to get the current url path in django template
{{ request.path }} # -without GET parameters
{{ request.get_full_path }} # - with GET parameters
Example 2: django get parameters from url
message = request.GET.get('message')