This time, i had compiled some Django Interview Questions.
This List might come handy to both Interviewer and Interviewee.
- How do you create new project in Django ?
- How do you create new app in Django ?
- Explain MVT architecture of Django ?
- What are Middlewares ?
- How do you create custom Middleware ? What special methods are used to handle request/response/exception ?
- In what order does middlewares listed in settings.py are executed when request comes ? Top to bottom or bottom to up.
- In what order does middlewares listed in settings.py are executed when response goes ? Top to bottom or bottom to up.
- Explain Django ORM(Object-relational mapper) ?
- How does session framework works in Django ?
- What is CSRF ? How can you prevent csrf attack ?
- What are Django forms ?
- What are Django Models ?
- How do you migrate your tables in Django ?
- What are model manager and how do you write custom manager ?
- What are Django Templates ? How template inheritance works in Django ?
- What is the use of wsgi.py file ?
- What are signals ? How do you create custom signals in Django ?
- What are receiver functions in Django ?
- What are Django template tags ?
- How do you create custom template tags ?
- What are generic views ? How many types of generic views are there ?
- What’s the difference between select_related and prefetch_related in Django ORM?
- What is the use of context processors in Django ?
- What 3rd party Django apps you have used ?
- What are Python Virtual Environments ?