Django Production Settings (1) – Settings.py for Development and Production
For the production environment, there are several development configurations that need to be adjusted. You'll need to continue using two different settings to manage the different environments.
One of the approaches to handling two or multiple settings is creating multiple settings files to switch configurations between the local environment and the production environment.
To manage highly confidential information, such as passwords or secret keys, you need to make a .env file and save the information separately from the settings.py file.
Subscribe now for
uninterrupted access.