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

book
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?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 1
some-alt