Replies: 2 comments 3 replies
-
If you were in the URL |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks dan..i dont quite understan what app to fix those parameters for the
redirect on the same page..cos i have django comments xtd app,articles
app,and users app..i posted the question on the platform too
…On Sun, Jan 24, 2021, 6:44 PM Daniel Rus Morales ***@***.***> wrote:
If you were in the URL /articles/the-title-to-my-story, and you wanted to
go back to that URL after login in, you have to pass the following next
query string parameter: ?next=/articles/the-title-to-my-story. Read about
it here
<https://docs.djangoproject.com/en/3.1/topics/auth/default/#limiting-access-to-logged-in-users>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#265 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMFFTB2YDZC2HOTQELO5SIDS3RL7XANCNFSM4WQRDAEA>
.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Dan I have successfully changed the login redirects from admin to user page but it seems after logging in as a user the content doesn't render on the same page rather it redirects to a new comment page..is there a work around to render the same article details page even after a user has logged in..so as to carry out your tasks just like it was if you are authenticated..
Beta Was this translation helpful? Give feedback.
All reactions