This is the best video I have seen in restframework, no unecessary view rendering and setting of routers and use of generics and all that, just straight forward api and response the key things to know.
I was exactly looking for this tutorial. Thanks Adam bro. It helped me a lot. I think you are underrated. Anyone should give a look to this channel, at least this video❤❤
Very good Tutorial and we can use this in real time projects. We can add mobile number or any fields during registration process with this customisation. Thanks a lot man!
awesome! helped me a lot! also, i would like to ask how would you securely send the token from the server to the user/client? can you hide it or encrypt it?
Mate, exactly what I was looking for, thank you! Now you mentioned that in other video you would explain the how to make ir work with JS but cant seem to find it
Thank you very much for your videos, as a student I really need it, it would be cool to see a video where detailed design work is being done on Vue js, for example, how to add new elements)
Hi Adam, thanks I finally content on DRF authentication that actually works! Can someone else use these endpoint in some other location and they still work? I asked because I have a team working on a project with frontend and backend
I appreciate your work. Can you create an app with MERN stack that can send file from one computer to another with local network. and how to implement your chat app on that.
Really nice tutorial, only one thing, this way the password is not being hashed.. I'm testing and receiving the password that we set while testing API.
Hi thank you for your video. I have implemented logout api in views file but when sending post method to logout api i get this : "detail": "Authentication credentials were not provided." how should i send logout request?
The rest calls do not work for me. I keep getting {"detail": "Authentication credentials were not provided."} as a response. Do you have some special settings.py?
im having touble for test_token API, im tesitn gthe apis in postman, but when im testing the test_Token api , this is the response that im getting { "detail": "Authentication credentials were not provided." } I've correctly passed the token in authorization .
@@Christopher-cz9iv yes , you should add a header in headers section of postman. In this case , key is 'Authorization' and value is 'Token "YOUR_TOKEN" '. And set the http request to GET and you'll get the response. Hope this helps
Why did you set the password on the user object then saved it again? these are 2 writes on the database. can you just alter the password in the serializer and save it? 19:40
If you're on windows, the equivalent command to activate the virtual environment is ```. venv/scripts/activate```. it's a dot (.) instead of 'source', and I guess for my version, it uses Scripts instead of bin
This is precisely what I was looking for, just the backend code without the frontend. Straight to the point and just enough explanation.
This is the best video I have seen in restframework, no unecessary view rendering and setting of routers and use of generics and all that, just straight forward api and response the key things to know.
Way better than the university courses that just flounder and get distracted with useless things and never get to the point. Thanks!
Awesome video man! Love how you explain what's actually going on and don't just write code without explaining
Such a nice tutorial for those who want to have a grasp on the topic quickly, keep up the high quality content
Fantastic work. Much better than most video out there trying to achieve the same goal. Thanks for your time.
This was such a nice tutorial. Very easy to follow with thorough explanations and simple, readable code. Thanks!
Excellent tutorial, to the point, keep up the good work!!!👏👏👏
Thank you so much ! You saved my day ! Very "simple" explanation !
Congratulations, very simple but it covers and explains the important things.
Thanks man ! This is really awesome. Precise and concise !
Excellent, well explained, clear and concise.
I was exactly looking for this tutorial. Thanks Adam bro. It helped me a lot. I think you are underrated. Anyone should give a look to this channel, at least this video❤❤
Hey man, just inspected the django-rest-auth code and must say, nice job.
Thank you so much for the amazing video, this was unbelievably helpful and uncomplicated!
love how you explain things, awesome explanation thank you.
Thanks a lot, really easy to follow + straight to the point. Saved lots of reading time xD.
to the point and clear explanation!! this is exactly what i needed..
I loved this video and am excited that I got this function working in my own little project!
Very good Tutorial and we can use this in real time projects. We can add mobile number or any fields during registration process with this customisation. Thanks a lot man!
awesome! helped me a lot! also, i would like to ask how would you securely send the token from the server to the user/client? can you hide it or encrypt it?
Woah, Everything is straight to the Point, Thanks man!
Mate, exactly what I was looking for, thank you! Now you mentioned that in other video you would explain the how to make ir work with JS but cant seem to find it
i would love more django videos!
wonderful, i would start mine ASAP. Good job.
Thank you very much for your videos, as a student I really need it, it would be cool to see a video where detailed design work is being done on Vue js, for example, how to add new elements)
Hi Adam la Morre, you are a savior. Thanks.
That was very helpful ! Thanks Adam
Solid explaination, so calm!
Thank U for share Bro!!! New Subscriber here!!!
Thanks for the tutorial, saved me a lot of time.
Great tutorial. Thank you very much!
Thanks Adam, great tutotrial
You deserve a million subscribers bro
Thank you so much for this! This was really helpful!
Thank you for this tutorial, helps me a lot
Thank you. This was really helpful 🙂
Very good tutorial.
Thank you.
Nice video, man! Keep doing that
Thank you very much for this video!
Miss your videos bro! Are you coming back at some point?
cool!...what about the logout?
Very well explained.
Quality content 👌👍
Thank you so much, your videos are really on point, keep going
Hey cousin! Got something for you this Christmas…..🎄
Well Explained
Hi Bro, Are you using jwt authntication i this video??
Hi Adam, thanks I finally content on DRF authentication that actually works! Can someone else use these endpoint in some other location and they still work? I asked because I have a team working on a project with frontend and backend
Thanks for the tutorials. But, I think you miss one important thing. What about logout? 😅
Just excellent bro
Awesome, thank you!
Wow!!!
Thanks a lot brother!!!!!!
Man you are a life saver!
Great video, man!
Genuine efforts. Thanks.
I appreciate your work.
Can you create an app with MERN stack that can send file from one computer to another with local network.
and how to implement your chat app on that.
Can you make a video on Refresh Token and Access Token
Would like to see this with JWT authentication instead of token authentication
What about the logout feature to log a user out?
Nice video. My question is how change and recover password.
World class!
Question: How would you do a logout through API?
you do it in the front by deleting the token from localstorage.
Why do we need the SessionAuthentication class? We never create a session. We just pass the token on every request
Thank you bro, you helped me a lot
Very good tutorial but you did not cover logout and you didn't explain when token will expire, also how to set more complex password rules...
perfect video
Thank you for this!
How did you setup you vs to work like this...i'm new with vs code, was using pycharm
what is difference path and re_path?
wonderful, thanks! 🍀❤
Hey can we get a video on chat app using angular on the frontend ?
very good video, you forget logout func with a delete token method
Awesome !!!!!!!!!!!!
Lovely 🎉
Hey sir, can you remake the tutorial but using a class based view?
Really nice tutorial, only one thing, this way the password is not being hashed.. I'm testing and receiving the password that we set while testing API.
Perfect👌
Hi thank you for your video. I have implemented logout api in views file but when sending post method to logout api i get this : "detail": "Authentication credentials were not provided." how should i send logout request?
please videos for django ninja ecommerce
Hi Adam,
At 20:55 i see that password isn’t hashed , i am also having same issue it is storing plain text in postgresql Database.
Thanks a lot man
what's the extension he's using on the right side of the screen to test the endpoints?
nvm he mentions it at 13:30. It's called ** drumroll **
REST Client.
so where is the link at the end of the vid
Please what vscode extension help you send requests easily like that
Why do you create a new token for user in Login view if it hasnt been created before? Does it expires?
Thank you
very good!!!!!!!!!!
how to support token expiration?
The rest calls do not work for me. I keep getting {"detail": "Authentication credentials were not provided."} as a response. Do you have some special settings.py?
same problem i am facing, i send the token and i get "Authenticaation credntials were not provided"
thank u man🤝
im having touble for test_token API, im tesitn gthe apis in postman, but when im testing the test_Token api , this is the response that im getting
{
"detail": "Authentication credentials were not provided."
}
I've correctly passed the token in authorization .
I have the same problem, did you find a way to solve it?
@@Christopher-cz9iv yes , you should add a header in headers section of postman. In this case , key is 'Authorization' and value is 'Token "YOUR_TOKEN" '. And set the http request to GET and you'll get the response. Hope this helps
@@sreedharteegala455 Thank, buddy. I just tried it, and it was very helpful to me.
Token doesnt have objects problem i get it
Is this Secure as JWT?
Why did you set the password on the user object then saved it again? these are 2 writes on the database. can you just alter the password in the serializer and save it? 19:40
Did you mean:
if serializer.is_valid():
user = serializer.save()
user.set_password(serializer.validated_data.get("password"))
user.save()
If you're on windows, the equivalent command to activate the virtual environment is ```. venv/scripts/activate```. it's a dot (.) instead of 'source', and I guess for my version, it uses Scripts instead of bin
is this jwt?
Thks man
Love you
yes !!