Loading User Profile #5
Unanswered
tonydattolo
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I setup a custom profile app that creates a profile for our custom user model using a 1-to-1 relationship and signals. Does a new auth action need to be setup, or can we modify load user to pass the user ID that we need to access the profile url.
for example, the ability to click the link to profile only appears when a user is logged in. do we need to pass something to the profile page for it to load?
profile url:
path('profile/<int:pk>', ProfileDetail.as_view(), name="profile")app route:
Error Given:
Profile Component:
Beta Was this translation helpful? Give feedback.
All reactions