115 | | Disable unnecessary modules, which is currently either done in {{{models/000_config.py}}} or in the template's {{{config.py}}} file. Active modules are stored in settings.modules, which is an instance of !OrderedDict. The key of each item in this !OrderedDict is the name of the module (a string), and each value is an instance of Storage. To disable a module, either comment out the relevant lines of {{{config.py}}} in the template, where the list is populated, or else use the pop method in {{{models/000_config.py}}} to remove the relevant item from settings.modules. |
| 115 | Enabling & Disabling unnecessary modules is done in either: |
| 116 | * {{{models/000_config.py}}} - see https://github.com/sahana/eden/blob/master/modules/templates/000_config.py#L242 |
| 117 | * or in the template's {{{config.py}}} file. |
| 118 | |
| 119 | Active modules are stored in settings.modules, which is an instance of !OrderedDict. The key of each item in this !OrderedDict is the name of the module (a string), and each value is an instance of Storage. To disable a module, either comment out the relevant lines of {{{config.py}}} in the template, where the list is populated, or else use the delete it in {{{models/000_config.py}}} to remove the relevant item from settings.modules. |