Difference between revisions of "Settings override.py"

From Dabo Wiki
Jump to: navigation, search
(Created page with "Dabo has several settings that are imported to the main dabo module's namespace; these are configured in the <code>settings.py</code> file in the main dabo module directory....")
 
(No difference)

Latest revision as of 15:57, 17 May 2020

Dabo has several settings that are imported to the main dabo module's namespace; these are configured in the settings.py file in the main dabo module directory.

This file should not be modified; however, you may need to change some of the settings to match your needs. To do that, create a file named settings_override.py in your application's main directory (or anywhere in sys.path). Dabo will try to import this file during startup, and any settings in this file can override the defaults in the main settings.py file.