This has been proposed and rejected in the past:
https://code.djangoproject.com/ticket/8906
The reasoning for this decision stems from the fact that settings.py
is intended to be a project-specific file, not something that is a
redeployable asset. Therefore, you *should* need to modify settings.py
if you want to deploy to a different sub-URL.
There is a separate discussion about whether LOGIN_URL should be
easier to use -- in particular, whether it should allow the use of
named URLs.
Yours,
Russ Magee %-)
There is a separate discussion about whether LOGIN_URL should be
easier to use -- in particular, whether it should allow the use of
named URLs.