2👍
✅
Django doesn’t control signet (or fragment), you can get it in your view with HttpRequest.get_full_path()
:
Get it only with :
>>> request.get_full_path().split('#')[1]
'1'
👤Zulu
Source:stackexchange.com