Q.1
Which file contains the path of list of HTML forms to be included from the application of the project?
  • manage.py
  • settings.py
  • views.py
  • urls.py
Q.2
Which command is used to install he django framework?
  • pip install django
  • python manage.py runserver
  • django-admin startproject x
  • All of above
Q.3
Which of these commands is useful to update to the format supported by installed database?
  • migrate
  • runserver
  • startapp
  • upgrade
Q.4
What does the file asgi.py refer to?
  • Asynchronous server
  • Application server
  • App server
  • App services
Q.5
Django was introduced in the year:
  • 2005
  • 2006
  • 2007
  • 2008
Q.6
Django Reinhardt is a
  • French guitarist
  • US web programmer
  • Japanese guitarist
  • All of above
Q.7
Django is designed and developed by
  • Adrian and Simon
  • Adrian and Harley
  • Simon and Wilson
  • Harley and Dersley
Q.8
What does a views.py file contain?
  • functions to return HTML files.
  • list of files in templates folder.
  • form to enter the data in database.
  • None of these
Q.9
Which command is used to create a new Django Project?
  • django-admin startproject P1
  • python manage.py startproject P1
  • > Startproject django P1
  • All of above
Q.10
What is the difference between media and static files settings?
  • The media settings holds videos and images while static files hold CSS, js.
  • The media setting manages files uploaded by the user. Static settings manages the static assets of the website.
  • Both A & B
  • None of the above
0 h : 0 m : 1 s