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

bookDefining 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.

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 1

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Awesome!

Completion rate improved to 3.57

bookDefining The First Model

Sveip for å vise menyen

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.

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 1
some-alt