For a development with django, I try to get the parameters of my url. my path : http://127.0.0.1:8000/categories/candy#bubblizz candy is my view avec #bubblizz is my id anchor.
A lot of documentation on request items but impossible to find how to get the anchor
{{ request.build_absolute_uri }} => http://127.0.0.1:8000/categories/candy
{{ request.get_full_path }} => /categories/candy
{{ request.path }} => /categories/candy
{{ request.META.PATH_INFO}} => /categories/candy
The goal is to test the presence of the anchor in the url.
{% if bubblizz in request.anchor %}Yeah{% endif %}
Does anyone have an idea? Or documentation that might help?
Thanks