1👍
The #
is a mark for browser to display more friendly.
It’s not a part of the http request, so you can’t get the #manage_contacts
through
target = request.GET.get('target', '')
For detail info:
0👍
You need to escape the #. The browser is treating this as a fragment for the current URL, and those don’t get sent to the backend.
Set the target URL instead to https://mysite/account/subs/%23manage_contacts
.
- Django – deploy project to heroku
- Form wizard does not show the next button
- MySQL On Update not triggering for Django/TastyPie REST API
Source:stackexchange.com