So I think you want ``` if "redirect" in settings.LOGIN_REDIRECT: ```