mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-07 22:25:35 +00:00
![]() 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 |
||
---|---|---|
.. | ||
management | ||
migrations | ||
tests | ||
__init__.py | ||
admin.py | ||
apps.py | ||
decorators.py | ||
forms.py | ||
models.py | ||
transports.py | ||
urls.py | ||
views.py |