![]() Instead of using SCRIPT_NAME / FORCE_SCRIPT_NAME, PATH_INFO and their associated issues, update urls.py to add the subpath to all routes. This allows us to get rid of several hacks: * the uwsgi.ini magic which parses SITE_ROOT, sets SCRIPT_NAME and fixes PATH_INFO * set_script_prefix() in sendalerts * chopping the subpath off an URL in hc.accounts.views._allow_redirect The idea comes from @apollo13 in https://code.djangoproject.com/ticket/35985#comment:5 cc: #1091 |
||
---|---|---|
.. | ||
accounts | ||
admin | ||
docs | ||
emails | ||
front | ||
integrations | ||
bad_link.html | ||
badge.svg | ||
base.html | ||
base_bare.html | ||
base_project.html | ||
try_later.html |