These tutorials are pretty good. Explanations are clear and easy to understand. One of the best ones on KZbin
@kriahnakanth2963 жыл бұрын
Simply super.. I'm requesting you, plz make any project by using of frontend and backend both are in same edtior.
@manasahr430 Жыл бұрын
hi , shall we use microsoft sql server database ! for backend , could please make a video on that
@bugracitak13974 жыл бұрын
I cannot fix "Access to fetch at '127.0.0.1:8000/auth/' from origin 'localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled." this error . I did exact same thing you did.
@_tu_shark4 жыл бұрын
getting error AttributeError: 'Manager' object has no attribute 'Create'
@oscarparedez14173 жыл бұрын
Hi Mr. Krystian. I have a question. I got a serializer class that has a one to one field reference to another model. I would like to apply the write_only=True to a field that is inside the referenced model. However, I dont know how to access that field from the serializer class that has the one to one field reference. Any approaches?
@SimpleUEisBetterThenComplex3 жыл бұрын
You will need to actually put it in the reference serializeer. If needed you can create 2nd serializer for that purpose only
@SajidKhanreMo5 жыл бұрын
while you import 'include' why didn't you simply import that from django.urls?
@SimpleUEisBetterThenComplex5 жыл бұрын
Well. I don't know. I just get used to using the one from django.conf.url. I will check it out.
@maliknauman78733 жыл бұрын
i am facing this issue: "detail": "Authentication credentials were not provided." when is post data 127.0.0.1:8000/api/users/. Kindly guide me
@vishalkukade47184 жыл бұрын
Please help me I'm getting stuck on this I'm beginner so I'm not getting where is problem.. Improperly Configured : field name password is not valid for model user
@svnvrkk2 жыл бұрын
Hi there, great video, but i have a problem with token. I catch this error when try to make a POST to AUTH All creds i provide without any mistakes I searched in google, tried to fixed that but nothing did not helped me, maybe you know how to fix this? "non_field_errors": [ "Unable to log in with provided credentials." ]
@kenneho4 жыл бұрын
Great tutorial. How come overriding the user object "create" method and calling "User.objects.create_user(**validated_data)" cause the password to be hashed? It works, I just don't understand why.
@SimpleUEisBetterThenComplex4 жыл бұрын
Create_user method is build method in django and it used password field to hash it. If you overwrite create method you will need to call that build in one to have it hashed
@kriahnakanth2963 жыл бұрын
One more thing. I'm unable to access udemy course amount is debited and then again credited back to me. I tried many time plz help me out
@SimpleUEisBetterThenComplex3 жыл бұрын
Payments are processed by Udemy. I only have my course on their platform. Please contact udemy support and they will be able to help you.
@67geetar3 жыл бұрын
Hi Krystian, great tutorial, I would like to go into more depth and deployment, is there any chance of a coupon for the Udemy course?
@@SimpleUEisBetterThenComplex Thanks ever so much Krystian, really appreciated, I'm an ex dev recently returned to the industry and it's changed so much, I've learnt Python, Django, JavaScript, CSS and a little React in the last few months and really needed a course to tie it all together and your course is perfect for that. I've just purchased and about to start :-) thanks again, have a great weekend.
@Gydvbgds65643 жыл бұрын
I'll purchase for the coupon code price, have you got another one?
Why is my password won't get hashed? I followed the tutorial but can't figure this out.
@SimpleUEisBetterThenComplex5 жыл бұрын
You need to have your own function create in UserSerializer and create user with **validated_data. Function create_usrr will hash passwords
@jonatantibarovsky42345 жыл бұрын
def create(self, validated_data): user = User.objects.create_user(**validated_data) return user This is what I have and it's not getting hashed, weird.
@SimpleUEisBetterThenComplex5 жыл бұрын
And what endpoint (URL) you use to create it?
@jonatantibarovsky42345 жыл бұрын
/api/users/ just like in the video
@jonatantibarovsky42345 жыл бұрын
i copied your code from github and it works now, not sure why. Thanks tho!
@sahilkhanna97824 жыл бұрын
sir is you give knowledge of making forget password api using django rest in your paid course then we will definately buy it
@SimpleUEisBetterThenComplex4 жыл бұрын
I don't have it in any of my course. But I might record one someday. I think it's a good idea
@sahilkhanna97824 жыл бұрын
I am waiting for that If you add please remind me pls at this no (9592408334 or also mail me khannasahil303@gmail.com ) please remind me
@gethsun14 жыл бұрын
Thank you for the good job @@SimpleUEisBetterThenComplex ping me as well on gethsun09@gmail.com/+254721913191 when you put up the above on Udemy
@estebangeorgenunezmoran7992 Жыл бұрын
Hey Sorry can i have a discount code for your course?