redirect to login page django code example Example: django login redirect LOGIN_REDIRECT_URL = 'home'