May 2018
Beginner to intermediate
526 pages
11h 57m
English
In real-world projects you will have to deal with multiple environments. You will have at least a local and a production environment, but you could have other environments as well, such as testing or pre-production environments. Some project settings will be common to all environments, but others will have to be overridden per environment. Let's set up project settings for multiple environments while keeping everything neatly organized.
Create a settings/ directory next to the settings.py file of the educa project. Rename the settings.py file to base.py and move it into the new settings/ directory. Create the following additional files inside the setting/ folder so that the new directory looks as ...
Read now
Unlock full access