Defining The First Model
Open models.py inside db folder and let's start with the example of our first model:
Each instance of the Author class represents one row in the database table.
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 1
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.57
Defining The First Model
Swipe to show menu
Open models.py inside db folder and let's start with the example of our first model:
Each instance of the Author class represents one row in the database table.
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 1