Changes between Version 20 and Version 21 of DeveloperGuidelines/PrePopulate


Ignore:
Timestamp:
01/05/15 14:48:26 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/PrePopulate

    v20 v21  
    9090resource = s3db.resource("supply_item")
    9191stylesheet= os.path.join(request.folder, "static", "formats", "s3csv", "supply", "item.xsl")
    92 filename = os.path.join(request.folder, "static", "private", "templates", "default", "supply_item.csv")
     92filename = os.path.join(request.folder, "static", "modules", "templates", "default", "supply_item.csv")
    9393File = open(filename, "r")
    9494resource.import_xml(File, format="csv", stylesheet=stylesheet)