[Answered ]-Get anchor and all params in request path

1👍

The part after the hash is called the fragment [wiki], these are not send to the server, as is specified in the Wikipedia article:

Clients are not supposed to send URI fragments to servers when they retrieve a document, and without help from a local application (see below) fragments do not participate in HTTP redirections.

Django thus never is given the #bubblizz part of the URI. You will need to work with some JavaScript to detect the fragment, and for example make an AJAX query and update the DOM accordingly. You can do this with window.location.hash [mdn] to get the fragment for the URI of the window.

Leave a comment