WorksheetsDjango Basic
Total questions: 10
Worksheet time: 5mins
A _____ is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a single database table.
Schema
Template
Model
View
To design URLs for an app, you create a Python module informally called a _____
URLconf
URLset
URLlist
myURLs
Where should you put your URLs?
urls.txt
urls.py
urls.xml
urls.json
A ____ function, or ____ for short, is a Python function that takes a web request and returns a web response.
vue
html
display
view
What can be returned in a view function?
error 404
HTML Content
XML Document
All of the above
A ________ contains the static parts of the desired HTML output as well as some special syntax describing how dynamic content will be inserted.
plate
template
html
temp view
What is NOT part of Django's work involved in forms?
preparing and restructuring data to make it ready for rendering
Asking users if they're having a good time
creating HTML forms for the data
receiving and processing submitted forms and data from the client
What does NOT apply in a settings file?
It can assign settings dynamically using normal Python syntax
It doesn’t allow for Python syntax errors
It automatically encrypt credentials assigned here
It can import values from other settings files
The term ___________ describes a Python package that provides some set of features
application
module
package
web page
One of the most powerful parts of Django is the automatic _____ interface
Templates
Admin
Perfect Cell
Model
