qobjects = [
{
draganddroptext: "___ django.db import ___",
draganddropquestion: "Drag and drop the missing code to create a model named Member.",
options: [
"
class ___(___.Model):
firstname = models.CharField(max_length=255)
lastname = models.CharField(max_length=255)models",
"django",
"from",
"class",
"models",
"views",
"py",
"Member"],
correct: [2, [0, 4], 7, [0, 4]]
},
{
question: "Django models are actually:",
options: [
"Python functions",
"Tables in a database",
"JSON objects"
],
correct: 1
},
{
fillintheblanks: "exercise_models1.htm"
},
{
fillintheblanks: "exercise_models2.htm"
}
]