Creating the Config App with Django
Explore how to create and configure the Django Config app within your backend service. Understand the purpose of essential files such as settings.py and urls.py, perform migrations, and prepare your project for Dockerization and database connection using MySQL.
We'll cover the following...
The Config app content
Previously, we created our project inside the backend directory by running the django-admin, startproject, and config commands. If we navigate to this backend directory, we'll see a folder named config, which the django-admin automatically created for us. Inside this folder are the manage.py and db.sqlite3 files and another folder with the same name as the outer folder. This inner config folder is a Python package, which is our Config app.
The illustration below shows the content of our project folder, which contains our Config app.