Redirecting to admin #247
Answered
by
danirus
ogurec-ogurec
asked this question in
Q&A
-
Hello, I have a little problem. If I click the like button for an unauthorized user, I am redirected to the admin page:
my settings:
How do I make it redirect to the |
Beta Was this translation helpful? Give feedback.
Answered by
danirus
Dec 28, 2020
Replies: 1 comment 1 reply
-
Hi @ogurec-ogurec, there is a setting for this in Django: settings.LOGIN_URL. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ogurec-ogurec
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ogurec-ogurec, there is a setting for this in Django: settings.LOGIN_URL.
In the comp demo site I use the login URL of the admin site.
Changing the LOGIN_URL you can redirect to your own.