Changes between Version 7 and Version 8 of DeveloperGuidelines/PrePopulate


Ignore:
Timestamp:
09/01/12 19:36:43 (12 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/PrePopulate

    v7 v8  
    8282{{{
    8383# Function to handle conflicts
    84 s3mgr.configure("supply_item", deduplicate=response.s3.item_deduplicate)
    85 resource = s3mgr.define_resource("supply", "item")
     84s3db.configure("supply_item", deduplicate=response.s3.item_deduplicate)
     85resource = s3db.resource("supply_item")
    8686resource.import_xml(open("/home/web2py/applications/eden/static/formats/s3csv/eric.csv", "r"),
    8787                    format="csv",
     
    103103
    104104 
     105