Django and React: Full CRUD part1 backend API

  Рет қаралды 36,289

Simple UE is better then complex

Simple UE is better then complex

Күн бұрын

Пікірлер: 56
@carlortiz2695
@carlortiz2695 3 жыл бұрын
Timestamps that might help :) 3:01 - django-cors-headers install 3:39 - Project: “backendapi”; app: “api” 6:05 - Edit settings.py 7:18 - views.py 8:38 - serializers.py 13:25 - postman 18:15 - hashing password 19:00 - authtoken
@jonatantibarovsky4234
@jonatantibarovsky4234 5 жыл бұрын
These tutorials are pretty good. Explanations are clear and easy to understand. One of the best ones on KZbin
@kriahnakanth296
@kriahnakanth296 3 жыл бұрын
Simply super.. I'm requesting you, plz make any project by using of frontend and backend both are in same edtior.
@manasahr430
@manasahr430 Жыл бұрын
hi , shall we use microsoft sql server database ! for backend , could please make a video on that
@bugracitak1397
@bugracitak1397 4 жыл бұрын
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_shark
@_tu_shark 4 жыл бұрын
getting error AttributeError: 'Manager' object has no attribute 'Create'
@oscarparedez1417
@oscarparedez1417 3 жыл бұрын
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?
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 3 жыл бұрын
You will need to actually put it in the reference serializeer. If needed you can create 2nd serializer for that purpose only
@SajidKhanreMo
@SajidKhanreMo 5 жыл бұрын
while you import 'include' why didn't you simply import that from django.urls?
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 5 жыл бұрын
Well. I don't know. I just get used to using the one from django.conf.url. I will check it out.
@maliknauman7873
@maliknauman7873 3 жыл бұрын
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
@vishalkukade4718
@vishalkukade4718 4 жыл бұрын
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
@svnvrkk
@svnvrkk 2 жыл бұрын
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." ]
@kenneho
@kenneho 4 жыл бұрын
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.
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 4 жыл бұрын
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
@kriahnakanth296
@kriahnakanth296 3 жыл бұрын
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
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 3 жыл бұрын
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.
@67geetar
@67geetar 3 жыл бұрын
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
@SimpleUEisBetterThenComplex 3 жыл бұрын
Sure www.udemy.com/course/react-django-full-stack/?couponCode=A5CEB5E0CAF703AFE406
@67geetar
@67geetar 3 жыл бұрын
@@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.
@Gydvbgds6564
@Gydvbgds6564 3 жыл бұрын
I'll purchase for the coupon code price, have you got another one?
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 3 жыл бұрын
www.udemy.com/course/react-django-full-stack/?couponCode=382B986281D732DD09DA
@Gydvbgds6564
@Gydvbgds6564 3 жыл бұрын
@@SimpleUEisBetterThenComplex Much obliged sir
@errorglx
@errorglx 3 жыл бұрын
Hi, is there still any available coupons for this course? I would like to purchase.
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 3 жыл бұрын
Sure. www.udemy.com/course/react-django-full-stack/?couponCode=BB3FE4FA98715423C9BD
@errorglx
@errorglx 3 жыл бұрын
@@SimpleUEisBetterThenComplex Thank you so much! I just purchased it.
@72000532
@72000532 4 жыл бұрын
Can you still generate a coupon code for the udemy course. I'd like to enroll
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 4 жыл бұрын
Sure: www.udemy.com/course/react-django-full-stack/?couponCode=C73812D09BB8918767FD
@jonatantibarovsky4234
@jonatantibarovsky4234 5 жыл бұрын
Why is my password won't get hashed? I followed the tutorial but can't figure this out.
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 5 жыл бұрын
You need to have your own function create in UserSerializer and create user with **validated_data. Function create_usrr will hash passwords
@jonatantibarovsky4234
@jonatantibarovsky4234 5 жыл бұрын
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.
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 5 жыл бұрын
And what endpoint (URL) you use to create it?
@jonatantibarovsky4234
@jonatantibarovsky4234 5 жыл бұрын
/api/users/ just like in the video
@jonatantibarovsky4234
@jonatantibarovsky4234 5 жыл бұрын
i copied your code from github and it works now, not sure why. Thanks tho!
@sahilkhanna9782
@sahilkhanna9782 4 жыл бұрын
sir is you give knowledge of making forget password api using django rest in your paid course then we will definately buy it
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 4 жыл бұрын
I don't have it in any of my course. But I might record one someday. I think it's a good idea
@sahilkhanna9782
@sahilkhanna9782 4 жыл бұрын
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
@gethsun1
@gethsun1 4 жыл бұрын
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
@estebangeorgenunezmoran7992 Жыл бұрын
Hey Sorry can i have a discount code for your course?
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex Жыл бұрын
Sure www.udemy.com/course/react-django-full-stack/?couponCode=5A849EAAECE7CAAF0CDB
@danberger8961
@danberger8961 2 жыл бұрын
You first need to make usermodels before you migrate
@nomoretables
@nomoretables 5 жыл бұрын
May I please have a coupon code for the Udemy course. tx
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 5 жыл бұрын
www.udemy.com/course/react-django-full-stack/?couponCode=91558801AAC20E3AABBD
@nomoretables
@nomoretables 5 жыл бұрын
@@SimpleUEisBetterThenComplex thanks, just purchased
@uweopfern
@uweopfern 4 жыл бұрын
@@SimpleUEisBetterThenComplex The coupon code is expired, can you provide another one please,
@SimpleUEisBetterThenComplex
@SimpleUEisBetterThenComplex 4 жыл бұрын
@@uweopfern www.udemy.com/course/full-stack-development-web-app-mobile-app-back-end-api/?couponCode=9BDE2E0485CF215C0A78
@uweopfern
@uweopfern 4 жыл бұрын
@@SimpleUEisBetterThenComplex how long does this coupon last, (expiration)
Django and React: Full CRUD part2 frontend login
21:33
Simple UE is better then complex
Рет қаралды 37 М.
Django and Angular full CRUD part1
32:42
Simple UE is better then complex
Рет қаралды 114 М.
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 46 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Authentication & Refreshing Tokens Implementation
2:09:53
Dennis Ivy
Рет қаралды 242 М.
Django Rest Framework | Serializers & CRUD
22:40
Dennis Ivy
Рет қаралды 391 М.
How to structure a JS/TS monorepo (From Zero to Turbo - Part 1)
11:58
Django and React: Full CRUD part3 Register, GET and auth token
25:53
Simple UE is better then complex
Рет қаралды 18 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 881 М.
Django and Angular full CRUD part2
32:01
Simple UE is better then complex
Рет қаралды 32 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 242 М.