Changes between Version 15 and Version 16 of DeveloperGuidelines/Templates
- Timestamp:
- 01/05/15 08:35:23 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Templates
v15 v16 16 16 17 17 == Examples == 18 See the current templates in Sahana Eden: https://github.com/flavour/eden/tree/master/ private/templates18 See the current templates in Sahana Eden: https://github.com/flavour/eden/tree/master/modules/templates 19 19 20 20 The {{{skeleton}}} template is designed to be copied & renamed to create new templates. 21 21 == Files == 22 22 Configuration is done using these files: 23 * {{{/ private/templates/000_config.py}}}24 * {{{/ private/templates/default/config.py}}}25 * {{{/ private/templates/<template>/config.py}}}23 * {{{/modules/templates/000_config.py}}} 24 * {{{/modules/templates/default/config.py}}} 25 * {{{/modules/templates/<template>/config.py}}} 26 26 27 27 During the 1st run, {{{000_config.py}}} is copied to {{{models/}}} … … 32 32 * machine-specific configuration (Debug, Database, SMTP, API Keys, etc) 33 33 * a setting to define which template folder to run 34 * importing of settings from {{{/ private/templates/<template>/config.py}}}34 * importing of settings from {{{/modules/templates/<template>/config.py}}} 35 35 * optional local overrides to the template's settings 36 36