In a Django template, the following takes me to the referring page:
<a href="{{ request.META.HTTP_REFERER }}">Referring Page</a>
But if I were using anchor tags, and the referring page was http://example.com/example/#section7, {{ request.META.HTTP_REFERER }}
wouldn't contain the anchor information.
Is there a way I can alter {{ request.META.HTTP_REFERER }}
(for instance, in my views.py) such that the anchor tag information is preserved?