Interview Questions on Django

1. What is Django ?

Ans: Django is a web development framework that help in building and maintainingquality web applications.
2. Who started Django ?
Ans: Adrian Holovaty and Simon Willison
3. What are the advantages of using Django ?
Ans:
a. Object-Relational Mapping support
b. Multilingual Support
c. Framework Support
d. Administration GUI
e. Development Environment
4. MVC pattern is based on ________ components.

Ans: Three

a. Model
b. view
c. controller

5. In Django What is template ?

Ans: The template is a HTML file mixed with Django template language.


Click on below link for Devops Interview QA book:

https://amzn.to/2YsiZah

6. How to test the django installation ?

Ans: Command: django-admin.py --version

7. How to create a project in django ?

Ans: Command: django-admin startproject myproject

8. What is manage.py file ?

Ans: It is used to interacting with our project via command line.

9. How to verify whether project file is configured properly or not ?

Ans: Command: python manage.py runserver

10. In which file all the unit tests exist ?

Ans: tests.py


Click on below link for Devops Interview QA book:

https://amzn.to/2YsiZah

Comments

Popular posts from this blog

Python & Shell Scripting Real Time Course Book & Videos

Top Five Devops Technical Interview QA Books

Linux-Command Hands-On (DF)