What is the setting defined in
settings.py
file to indicate where static files should be loaded from?FILES_STATIC
STATIC_URL
STATIC_FILES
RESOURCES_STATIC
Which of the following should be placed in the folder for static assets?
Template files
Javascript files
View files
Model files
Once a commit has been made on a local repository, what command is used to sync those changes to the remote repository?
git sync
git push
git pull
git status
Which property, defined in
urls.py
, defines the valid routes in a Django application or project that can respond to requests?urlpatterns
urls
url_paths
page_urls
Which of the following statements is true? Select all that apply.
The
git push
command sends files from the local repository to the remote repository.The
git commit
command sends files from the working repository to the local repository.The
git add
command sends files from the working area to the staging areaThe
git add
command sends files from the staging area to the local repository
Which of the following are known as version control tools? Select all that apply.
SVN
Mercurial
Git
GitHub
When a file has been edited in a Git repository, after saving, the command git status will show us that the file has been changed. After staging the file, what command do we use to make the change in our Git repository?
git commit
git add
git clone
git rebase
What are the three states in a Git workflow? Select all that apply.
staged
finalized
modified
committed
Which of the following requirements must be fulfilled to access Django's admin interface? Select all that apply.
You must include
django.contrib.admin
in theINSTALLED_APPS
list in thesettings.py
file.You must run the migrations.
You must The Django project to have at least one app.
You must create at least one superuser.
True or false: Django automatically creates permissions that can be assigned to users in Django Admin as models are created within the app.
True
False