My Django project’s settings.py defines a few URL variables like LOGIN_URL, LOGIN_REDIRECT_URL, etc. My urls.py defines URLs with names (“acct_login”, “acct_redirect”, etc).
Is there some way I can refer to these urls inside settings.py by name? e.g. LOGIN_URL = url(acct_login)
What you need is the
reverse()method.