Changes between Version 11 and Version 12 of DeveloperGuidelines/PrePopulate
- Timestamp:
- 03/04/13 17:55:22 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/PrePopulate
v11 v12 89 89 resource.import_xml(open("/home/web2py/applications/eden/static/formats/s3csv/eric.csv", "r"), 90 90 format="csv", 91 stylesheet="/home/web2py/applications/eden/static/formats/s3csv/eric.x ls")91 stylesheet="/home/web2py/applications/eden/static/formats/s3csv/eric.xsl") 92 92 }}} 93 93 … … 100 100 * All XLS should be in trunk (even if it is for private data) and have a matching CSV Template 101 101 * Then a configuration file can be created where you can just list the CSV file names which you want to be imported when Sahana Eden is initialized. Copies of this files could be saved in the private/templates/<deployment>/ directory then a config setting could select which file to use, to make it easy to set up Sahana Eden to have different types of data in it. 102 103 ----104 See:105 * BluePrint/PrePopulate106 107 108