Is there a way to get the current page URL and all its parameters in a Django template?
For example, a templatetag that would print a full URL like /foo/bar?p
/foo/bar?p
You can see if your url differs from the others.
{% if 'foo/bar/' in request.get_full_path %}