Conteúdo do Curso
Django ORM Ninja: Advanced Techniques for Developers
Django ORM Ninja: Advanced Techniques for Developers
Define Other Models
Let's continue to create our application. So, we continue to write our Models inside the models.py file.
Note
An id field is automatically added as a primary key for each model instance. You don't need to declare it explicitly in your models.
We haven't created any relations between our Models yet, but we'll address this shortly.
Obrigado pelo seu feedback!