Courses /
Django ORM Ninja: Advanced Techniques for Developers
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.
![](https://codefinity-content-media-v2.s3.eu-west-1.amazonaws.com/courses/e3b9813f-14f7-44ba-850d-538599a9743b/section-2/author-table.png)
Everything was clear?
Section 2. Chapter 1
Course Content
Django ORM Ninja: Advanced Techniques for Developers
1. Introduction to Django ORM
2. Models, datatypes, and fields
Django ORM Ninja: Advanced Techniques for Developers
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.
![](https://codefinity-content-media-v2.s3.eu-west-1.amazonaws.com/courses/e3b9813f-14f7-44ba-850d-538599a9743b/section-2/author-table.png)
Everything was clear?
Section 2. Chapter 1