Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Defining The First Model | Models, datatypes, and fields
Django ORM Ninja: Advanced Techniques for Developers

Defining The First ModelDefining 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?

Section 2. Chapter 1
course content

Course Content

Django ORM Ninja: Advanced Techniques for Developers

Defining The First ModelDefining 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?

Section 2. Chapter 1
some-alt