- Django 2 Web Development Cookbook
- Jake Kronika Aidas Bendoraitis
- 64字
- 2021-06-10 19:31:24
Getting ready
Most of the settings for a project will be shared across all environments and saved in version control. These can be defined directly within the settings.py file. However, there will be some settings that are specific to the environment of the project instance, or sensitive and require additional security such as database or email settings. We will expose these using environment variables.