Changes between Version 18 and Version 19 of DeveloperGuidelines/Basics
- Timestamp:
- 01/05/15 14:47:46 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Basics
v18 v19 22 22 Sahana Eden is able to "[DeveloperGuidelines/PrePopulate Pre-Populate]" data so you can explore/test/develop the application with different types of data. Pre-Populate options are associated with the [DeveloperGuidelines/Templates Templates], but they can be set in {{{models/000_config.py}}}. 23 23 24 {{{IFRC_Train}}} is a good set of pre-populate to use (See: https://github.com/flavour/eden/tree/master/ private/templates/IFRC_Train). It also has an admin user account: !admin@example.com password: testing. To use it edit {{{models/000_config.py}}}:24 {{{IFRC_Train}}} is a good set of pre-populate to use (See: https://github.com/flavour/eden/tree/master/modules/templates/IFRC_Train). It also has an admin user account: !admin@example.com password: testing. To use it edit {{{models/000_config.py}}}: 25 25 26 26 After: … … 31 31 Add (or un-comment): 32 32 {{{ 33 settings.base.prepopulate = ["IFRC","IFRC/Train"]33 settings.base.prepopulate = ("IFRC", "IFRC/Train") 34 34 }}} 35 35