Changes between Version 17 and Version 18 of BluePrintWebSetup
- Timestamp:
- 06/07/10 07:59:09 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintWebSetup
v17 v18 13 13 * 000_config.py instantiates the '''S3Config''' class as ''deployment_settings'': 14 14 * S3Config is a subclass of ''Storage'' and can therefore be written in dot-notation 15 * S3Config implements methods to read the config values (instead of accessing the instance attributes themselves), which also implement any fallback values. These methods should be used throughout the application (=do not store their return values in any local variables).15 * S3Config implements methods to read the config values (instead of accessing the instance attributes themselves), which also implement any fallback values. These methods should be used throughout the application (=do not store their return values in any global variables). 16 16 * S3Config could contain a method to generate a web form to create a new instance (+pre-populate the form with values of another instance) 17 17 * S3Config could then even contain a method to write the instance to a config file like 000_config.py … … 36 36 BluePrints 37 37 BluePrints 38 BluePrints