Django's LOGIN_URL etc. settings can be absolute paths or named URLs. In stronghold, LOGOUT_URL is always treated as an absolute path. If someone provides a LOGOUT_URL value as user:logout. It gets translated to regular expression such ^user:logout$ to be matched against request.path_info.
Django itself handles these URLs with django.shortcuts.resolve_url which resolves both named URLs and absolute paths properly.
Django's LOGIN_URL etc. settings can be absolute paths or named URLs. In stronghold, LOGOUT_URL is always treated as an absolute path. If someone provides a LOGOUT_URL value as
user:logout
. It gets translated to regular expression such^user:logout$
to be matched against request.path_info.Django itself handles these URLs with
django.shortcuts.resolve_url
which resolves both named URLs and absolute paths properly.