From a70fe7374c567e6d6904e925572bf26948e934bf Mon Sep 17 00:00:00 2001 From: Okhin Date: Tue, 14 May 2019 18:16:04 +0200 Subject: [PATCH] Redirecting to /rp/ after login --- project/settings/auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/settings/auth.py b/project/settings/auth.py index c16334b..9624a50 100644 --- a/project/settings/auth.py +++ b/project/settings/auth.py @@ -5,6 +5,8 @@ User registration and login related settings AUTH_USER_MODEL = "auth.User" EXTENDED_USER_MODEL = "userprofile.Profile" LOGIN_URL = "/accounts/login" +LOGIN_REDIRECT_URL = "/rp/" +LOGOUT_REDIRECT_URL = "/rp/" AUTHENTICATION_BACKENDS = [ -- GitLab