Changes between Version 14 and Version 15 of DeveloperGuidelines/PrePopulate
- Timestamp:
- 02/27/14 16:24:12 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/PrePopulate
v14 v15 87 87 This offers us better options to automate the import of data. 88 88 {{{ 89 # Function to handle conflicts 90 s3db.configure("supply_item", deduplicate=response.s3.item_deduplicate) 89 auth.override = True 91 90 resource = s3db.resource("supply_item") 92 91 resource.import_xml(open("/home/web2py/applications/eden/static/formats/s3csv/eric.csv", "r"),