Default Settings
A Django settings file doesn’t have to define any settings if it doesn’t need to. Each setting has a sensible default value. These defaults live in the file django/conf/global_settings.py.Here’s the algorithm Django uses in compiling settings:
- Load settings from global_settings.py.
- Load settings from the specified settings file, overriding the global settings as necessary.
No comments:
Post a Comment