Total Questions : 50
Expected Time : 50 Minutes

1. How do you include a URL pattern in Django?

2. What is the purpose of Django migrations?

3. How do you perform database queries in Django?

4. What does CSRF stand for in Django?

5. How does Django handle database migrations?

6. What is the default database engine used by Django?

7. What is Django's Object-Relational Mapping (ORM) used for?

8. Explain the purpose of Django's `signals`.

9. Which authentication system does Django use by default?

10. Which command is used to create a new Django app?

11. What is the purpose of Django forms?

12. Explain the Django project structure. What do each directory and file represent?

13. What is the purpose of Django's `models.py` file?

14. What is the purpose of Django's `admin.py` file?

15. How do you create custom middleware in Django?

16. Explain the purpose of Django's `FileField` in models.

17. What is Django's `Celery` used for?

18. What is the purpose of Django's middleware?

19. How does Django handle static files in a production environment?

20. Which command is used to create a superuser in Django admin?

21. What is the purpose of Django's 'migrations'?

22. What is the purpose of Django's `Django ORM`?

23. What is the Django Template Language used for?

24. What is the purpose of Django's ORM (Object-Relational Mapping)?

25. Explain Django's content types and how they are used.

26. What is the purpose of Django's `FormView`?

27. Which database does Django support by default?

28. What is the purpose of Django's `views.py` file?

29. What is Django's `QuerySet` and how is it used?

30. What is the purpose of Django's `select_related` and `prefetch_related` in queryset?

31. What is the purpose of Django's `urls.py` file?

32. How do you optimize database queries in Django?

33. What is the Django ORM used for?

34. Explain Django's `Meta` class in models.

35. What command is used to create a new Django project?

36. Which command is used to apply migrations in Django?

37. How do you handle user authentication in Django REST Framework?

38. What is Django REST framework used for?

39. What is the purpose of Django's `middleware.py` file?

40. How do you define a model in Django?

41. What is the Django shell used for?

42. What is the purpose of Django's `caching` mechanism?

43. Explain the purpose of Django's `context_processors`.

44. What is Django's MTV architecture?

45. Which template engine does Django use by default?

46. How do you add static files in a Django project?

47. What is Django's `Gunicorn` used for?

48. What is Django's `transaction.atomic` decorator used for?

49. What is Django?

50. What is the purpose of Django's `settings.py` file?