Changes between Version 7 and Version 8 of DeveloperGuidelines/PrePopulate
- Timestamp:
- 09/01/12 19:36:43 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/PrePopulate
v7 v8 82 82 {{{ 83 83 # Function to handle conflicts 84 s3 mgr.configure("supply_item", deduplicate=response.s3.item_deduplicate)85 resource = s3 mgr.define_resource("supply", "item")84 s3db.configure("supply_item", deduplicate=response.s3.item_deduplicate) 85 resource = s3db.resource("supply_item") 86 86 resource.import_xml(open("/home/web2py/applications/eden/static/formats/s3csv/eric.csv", "r"), 87 87 format="csv", … … 103 103 104 104 105