Django Models | Crash Course | Field Types, Connections, and Model Functions

preview_player
Показать описание
Learn about Django Models by setting up an example for a Django project. I'm going to talk about different field types, model functions, how things are connected, string representation, Meta, how to override the save method and similar.

So if you already know the basics, but want to learn a little bit more, then this is the video for you.

---

Code With Stein Premium

Support me

Important links

---

#codewithstein #django #models #database
Рекомендации по теме
Комментарии
Автор

Man, this video class is gold for those are looking for information for a first project in Django. Thanks again. Many, many, many notes done in my end.

aldolammel
Автор

Thank you Stein, this type of format is really helpful. Please consider doing more of these in the future.

Could you also do a tutorial on how to make a Single Page App using Django and Vue?

katlegolionel
Автор

You're the reason I'm adding the pain of one more framework to my beginner path. Thanks for detailed work. Means learning some Python but you're that good

goldboolean
Автор

I'm in a Django Udemy class but there are some lacks of videos over there where, one of them, is exactly explaining how work ManyToMany and ForeignKey, stuff that you already showed super well in less than 15min of the video. Watching and noting.

aldolammel
Автор

Thank you sir.. I find something useful in this video. Great content.

Leesdjo
Автор

Hey, Stein, could you do a more in depth tutorial on django forms? Having some trouble with some advanced uses. I'd also like some good practices on setting forms, validating data, etc.

AntonioZL
Автор

Hi,

Thank you for your informative videos. They have been very helpful. However, I've been encountering some issues. I'm having trouble searching for solutions to errors in my code, and sometimes I miss certain elements in the code.

Could you please guide me on how to effectively search for solutions to these errors, and provide some tips on how to ensure that I don't miss anything important in the code?

Thank you for your time and assistance.

fisalfdddf
Автор

Hello Stein! This comment might be unrelated but I'm following along a tutorial you created 2 years ago, which was creating an LMS with a Django Rest Framework for the backend and Vuejs for the frontend, I had encountered a problem in Part 17 of the tutorial, and I found a commentor who posted the problem that I also am trying to debug (it is my first time using vuejs and django at the same time so I am struggling):

at 11.00 min in the video, you got 500 error while doing so i also got similar error as a fix you have added Rest framework code block from Git that solved you the purpose and the error ""Comment.created_by" must be a "User" instance." disappeared and you submitted the form Successfully .



Similar to you i also have added the Rest framework code block but i see an error in my web page when i click on course



Request failed with status code 401

AxiosError: Request failed with status code 401



if i don't add the Rest frame work lines i am unable to submit the comments.

Thanks! You also earned a subscriber due to the amazing content!

CookieAzura
Автор

Where did you created user table r model

TokyoTales
Автор

show how to do aws with django and vue

artemunix
visit shbcf.ru