Changes between Version 20 and Version 21 of BluePrint/Templates
- Timestamp:
- 06/15/12 22:25:46 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/Templates
v20 v21 8 8 9 9 This helps prevent merge conflicts between different deployment branches & hence reduces the risk of forking. 10 11 == Description ==12 Builds on the 000_config.py configuration template and DeveloperGuidelines/PrePopulate.13 10 14 11 == Requirements == … … 44 41 45 42 == Design == 46 Configuration is done using these files: 47 * /private/templates/000_config.py 48 * /private/templates/default/config.py 49 * /private/templates/<template>/config.py 50 51 During 1st_run, 000_config.py is copied to models/ 52 53 000_config.py includes: 54 * FINISHED_EDITING_CONFIG_FILE 55 * VERSION 56 * machine-specific configuration (Debug, Database, SMTP, API Keys, etc) 57 * a setting to define which template folder to run 58 * importing of settings from templates/<template>/config.py 59 * optional local overrides to the template's settings 60 61 Prepopulate options are defined in the template's config.py 62 * operating exactly as currently: DeveloperGuidelines/PrePopulate 43 DeveloperGuidelines/Templates 63 44 64 45 === Future extensions === … … 72 53 * imported into models/tasks.py 73 54 Theme: 74 * static/styles/<template>/style.css75 * static/img/<template>/*.png76 * views/<template>/layout.html77 55 * controllers/default.py index() 78 56 Menus: … … 93 71 94 72 == References == 73 * DeveloperGuidelines/Templates 95 74 * Prepopulate 96 75 * BluePrint/WebSetup