stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Django Web Development Flashcards | StudBud
Explore
/
Django Web Development
Django Web Development
17 terms
·
StudBud Administration
Test your knowledge on the Django web framework and its key concepts
Flashcards
17 cards
F
Practice quiz
P
Host live
L
Questions
17
Answers
1
Which file defines models?
models.py
settings.py
views.py
urls.py
2
Django is a web framework
True
False
3
What is the purpose of middleware?
Configure settings
Handle requests
Define models
Manage URLs
4
What is the purpose of migrations?
Create views
Run the server
Define URLs
Update database schema
5
Which file configures settings?
views.py
models.py
settings.py
urls.py
6
Which command starts a new project?
django-admin runserver
python manage.py runserver
django-admin startproject
django-admin startapp
7
What does ORM stand for?
Object Relational Mapping
Object Relationship Model
Online Resource Management
Object Resource Manager
8
What is a template in Django?
A view
A model
An HTML file
A URL
9
Django is written in Python
False
True
10
Which command creates migrations?
django-admin startapp
python manage.py migrate
django-admin startproject
python manage.py makemigrations
11
Which file contains URL patterns?
settings.py
views.py
models.py
urls.py
12
What does M stand for in MTV?
Model
Module
Manager
Method
13
What is the default database?
PostgreSQL
SQLite
MySQL
Oracle
14
Django uses the MVC pattern
True
False
15
What is a view in Django?
A model
A URL
A template
A function
16
Which file contains view functions?
settings.py
models.py
urls.py
views.py
17
Which file contains admin settings?
settings.py
urls.py
admin.py
views.py