
Quiz 3 | F23 Curriculum
Authored by Hallie Faust
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does it mean when we say an app is "pluggable"?
The app has multiple models
The app is complete
The app must be plugged in
The app can be installed in multiple projects
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We add a reference to an apps configuration class to the INSTALLED_APPS setting for it to be included in our project
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to store changes to models?
change
makemigrations
migrate
save
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are migrations important in Django?
Lets you move data from one project to another
Lets you create new models
Lets you make changes to your models without losing data
Lets you easily post data to your database
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The sqlmigrate command runs the SQL from your migration
True
False
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What can we do in our shell when playing with the API?
Add choices for our question
Edit our models
Create a new question
Search our question set
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How do we add a string method to our model?
def str(self): return self.choice_text
def __str__(self): return self.choice_text
def __str__(self): return self.question_text
def str(self): return self.question_text
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?