Django & React Tutorial #5 - Handling POST Requests (Django REST)

preview_player
Показать описание
This react and django tutorial covers how to handle POST request's from Django rest framework. We setup some API endpoints that will be used to send information to and create new entires in our database.

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

💸 Donations 💸
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
- Django
- Django and React
- React and Django
- Django POST Request
- Post request Django
- React and Django Tutorial
- Django and React Tutorial

⭐️ Hashtags ⭐️
#Django #React #JavaScript
Рекомендации по теме
Комментарии
Автор

Hi Tim! Amazing video, as always, I really hope you take this tutorial til the end, it's just what I was looking for. However, it seems you cut some parts of the video while editing, its missing you changing some things on the views file, as well as in the urls file

For those of you lost, and not being able to make this work, what's missing on the video is: adding returns on both, if and else in the views, as well as at the end of the post def on the same file. You'll also have to add the create-room path on the api urls py. What you need to add is on the tutorial GH page, on the video descrption. I just listed what's missing on the video.

nicolasjuarez
Автор

Am I the only one who thinks the video jumps at 15:47?

julexpalad
Автор

Hello Tim
Some things I want to learn are :
1. Logging System with 2 views administrator privileges and Customer privilages.
2. Upload Image for example change profile picture.

Thanks
Ankit Rusia

kanharusia
Автор

i get "detail": "Method \"GET\" not allowed."

and i can't find what to do ;'(

teva
Автор

An easier way to do the update or create is
```py
obj, created =
host=host,
defaults=dict(guest_can_pause=guest_can_pause, votes_to_skip=votes_to_skip)
)
```

lautarodapin
Автор

Thanks Tim! This was great. I think you missed a clip that more nicely bridged into correcting those lines as well as updating api/urls.py BUT kinda glad you didn't -- forced me to figure out what was missing on my own a little. ;) Looking forward to the next one!

jasonschannel
Автор

Hi Tim, thanks so much for this tutorial. It covers a whole lot about React and Django! Really helpful!

victoritodo
Автор

One of the best tutorials on Full stack web dev ever! Keep it up! Keep posting cool content like this!

asce
Автор

You make it so complicated, like no one else

dekito
Автор

... Am I the only one experiencing the giant skip of content at about 15:36?

IronyImpact
Автор

Thanks for this tutorials and good luck with your new job!

nataliiasorokina
Автор

Best tutorial series on whole Youtube ever! Thank you very much!!! <3

fabu
Автор

This is a great series. Learning so much. Thank you.

TheFootballPlaya
Автор

I'm noticing an issue even after getting the missing code from the github, there is an HTTP 405 Method not allowed error

whoknowsesports
Автор

Hey I am just going through this video now but I did notice that some of the code was out of date. I am very grateful for your hard work but I thought I would let you know some of the updates are past-due. Thanks.

riocasanova
Автор

imagine using algoexpert to prepare for an algoexpert interview from clement

bubblyducks
Автор

you can also use update_or_create. cleaner and shorter.

Автор

Could you make a short tutorial on how to add a custom room name that's optional, and if they don't fill it out it automatically sets the room name as: "{hosts name}'s music room" or something? Thanks

tao
Автор

Hello guys, I am stuck in the end part, where I added the path to the createroom view url but I am getting an error : 'CreateRoomSerializers' object is not callable. Please someone help

madhupaka
Автор

Thx for your great content, i have a question at 14:03, why you dont use objects.create() but create the room directly, ex: room =Room.objects.create(host=host, ...)

cashpay