2
Understanding the Project Structure and Creating Our First App
Django projects contain a predefined structure with some key folders and files. In this chapter, we will discuss the Django project structure and how some of those folders and files are used to configure our web applications. Furthermore, Django projects are composed of one or more apps. We will learn how to create a “home” app, composed of “home” and “about” sections, and how to register it inside our Django project.
In this chapter, we will cover the following topics:
- Understanding the project structure
- Creating our first app
- Creating a home page
- Creating an about page
With all of these topics completed, you will know how to create Django apps and web pages.
Technical requirements ...
Get Django 5 for the Impatient - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.