mirror of
https://github.com/healthchecks/healthchecks.git
synced 2024-12-22 11:48:41 +00:00
45b8bd64df
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 |
||
---|---|---|
.. | ||
commands | ||
__init__.py |