Changes between Version 20 and Version 21 of BluePrint/Templates


Ignore:
Timestamp:
06/15/12 22:25:46 (9 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/Templates

    v20 v21  
    88
    99This 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.
    1310
    1411== Requirements ==
     
    4441
    4542== 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
     43DeveloperGuidelines/Templates
    6344
    6445=== Future extensions ===
     
    7253 * imported into models/tasks.py
    7354Theme:
    74 * static/styles/<template>/style.css
    75 * static/img/<template>/*.png
    76 * views/<template>/layout.html
    7755* controllers/default.py index()
    7856Menus:
     
    9371
    9472== References ==
     73* DeveloperGuidelines/Templates
    9574* Prepopulate
    9675* BluePrint/WebSetup