Django & React Tutorial #11 - Updating Django Models

preview_player
Показать описание
In this django and react tutorial video I will be covering how to update django models. We will use the django rest framework to update a model in django; specifically we will update our room settings.

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

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

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

⭐️ Tags ⭐️
- Tech With Tim
- Django & React Tutorial
- React and Django Tutorial
- React
- Django
- Django Models
- Updating Django Models
- Models Django
- Updating Models Django

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

Great Tutorials. Quick tip: You can avoid using those bind statements by making the functions using the arrow notation. In this way the "this" keyword will be inherited from the class. For example:
renderSettings() {
...code...
}

to

renderSettings = () => {
...code...
}
Keep up the good work!

alexandruadam
Автор

instead of navigating to a settings page, use CreateRoomPage's state to drive which elements (create vs update)
to render base on the props passed in from Room.js

sushislushy
Автор

Congratulations Tim for your videos, they are sensational.

I was having problem with javascript rendering because of importing Alert from @material-ui lib, so I saw that since the release of Material UI v5.0.0, we can import Alert from @mui/material or @mui/material /Alert:


After making the change, everything went back to normal and it worked.

Thank you very much for the series of videos.

leonardodasilvadiasjunior
Автор

Hello, I am trying this, and after I insert the return statement (29:04) I get a Minified React Error 130:
```
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
```
Could someone please help me with this?

athroid
Автор

Hello Tim, Krishna here...
Great video

themarvelgirl
Автор

Hi I have a question, for the onClick method in a Button, why do you have to use the arrow function? E.g. why 'onClick={() => instead of ?

deflatedbraincell
Автор

I feel like a lot of the view code should be on a method inside the serializer class

lautarodapin
Автор

Nice video Tim!
For an improvement in the code do you think is it fine to create a decorator to check if the user has a session ?

andreanonali
Автор

Can you explain how to deploy in vercel

mkbrothers
Автор

and also use .first() after filtering models or use a try except with get() func

soroushsalari
Автор

Tim, you are the man. Even Baby Yoda agrees.

brydenbarbee
Автор

Hi! In the settings page, when I click Back it returns me to the main page and not the room page because of my roomCode = null. But if I refresh the page it works as expected. Can somebody help me, please?

aHardReset
Автор

please make more advice and tips videos tim !!!!

unknownman
Автор

14th person here.... Tim please reply.


I'm new to coding.... I decided to start with Python, is learning Django going to help me on my path to becoming a software engineer??

sheyzi_
Автор

I think you should do a collaboration with kitboga on his scammer ai time waster.

kovyjacob
Автор

Hello! Check the email (and spam) with a letter of cooperation (Gglot)

tomcarter
Автор

YouTube : 2 comments

Comment section:















samrathchadha
Автор

how do u learn django bro before making videos

vishalmishra
welcome to shbcf.ru