qobjects = [
{
question: "What is a correct syntax for adding a field that allows NULL values?",
options: [
"phone = models.IntegerField(True)",
"phone = models.IntegerField(null=True)",
"phone = models.IntegerField(null=False)"
],
correct: 1
},
{
question: "True or False. When making changes in the Model's structure, we have to make a migration to tell Django that it has to update the database.",
options: [
"True",
"False"
],
correct: 0
},
{
question: "What is a correct syntax for make the migration?",
options: [
"python manage.py makemigrations members",
"python manage.py migrations members",
"python manage.py migrate members"
],
correct: 0
}
]