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
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Sectionย 2. Chapterย 1