Django Quiz - Project & App Structure

This quiz focuses on Django project and app structure, helping learners understand key elements like manage.py, settings, apps.py, INSTALLED_APPS, and configuration files. With 15 multiple-choice questions, it's a beginner-friendly set designed to strengthen foundational knowledge of how Django projects are organized and how apps fit into the overall framework.

1. What is the function of __init__.py inside a Django app?

2. Which command lists all apps and migrations applied in a Django project?

3. Which Django file typically imports and applies middleware?

4. What is the default name of the main configuration package when you create a Django project?

5. Which file defines ASGI or WSGI entry points for Django?

6. How can you split Django settings for development and production?

7. What command creates a new Django app inside a project?

8. What is the difference between settings.py and apps.py?

9. Which file is responsible for application configuration in a Django app?

10. Which directory usually contains settings.py, urls.py, and wsgi.py?

11. Where do you define installed apps in a Django project?

12. Which variable in settings.py defines allowed domains for production?

13. What is the recommended naming convention for Django apps?

14. What is the role of manage.py in a Django project?

15. What does INSTALLED_APPS in settings.py control?

Never miss a story on Django.wiki

Subscribe for fresh tutorials, snippets, and updates.

By subscribing you agree to our Privacy Policy.