5 Questions
How are model fields specified in Django?
As class attributes
What is a model in Django?
The single, definitive source of information about your data
What should you do after adding new apps to INSTALLED_APPS in Django?
Run manage.py migrate
Where should you define your models in Django?
In the module myapp.models
How do you inform Django that you're going to use the defined models?
By editing the settings file and changing the INSTALLED_APPS setting
Quiz: Django Models and Fields Test your knowledge of Django models and fields with this quiz. Explore the basics of defining fields, attributes, and database mapping in Django models.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free