ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
hello i'm 3 years from the future but this is stil helpful. thank you
glad it was helpful!
Mad Respect Sir Benjamin👍!
Thank you for making these videos. Whenever you add a line please explain what is purpose is. What is permissions.IsAuthenticatedOrReadOnly etc etc etc.
Thank you, this video of Django REST Framework Authentication is very excellent.
Glad you found it helpful!
Thanks, this really helped me.
great tutorial, thanks !
What I wanted❤️
Why are you setting permissions in both the Serializer and the ViewSet? Seems to be a duplication of logic.
I don't get this last line Return obj.owner == request.userWill u plz explain?
if obj.owner is equal to request.user it will return True, otherwise False.
That is correct. We only want to return the results belonging to the owner!
hello i'm 3 years from the future but this is stil helpful. thank you
glad it was helpful!
Mad Respect Sir Benjamin👍!
Thank you for making these videos. Whenever you add a line please explain what is purpose is. What is permissions.IsAuthenticatedOrReadOnly etc etc etc.
Thank you, this video of Django REST Framework Authentication is very excellent.
Glad you found it helpful!
Thanks, this really helped me.
great tutorial, thanks !
What I wanted❤️
Why are you setting permissions in both the Serializer and the ViewSet? Seems to be a duplication of logic.
I don't get this last line
Return obj.owner == request.user
Will u plz explain?
if obj.owner is equal to request.user it will return True, otherwise False.
That is correct. We only want to return the results belonging to the owner!