Changes between Version 9 and Version 10 of S3/DataImportCLI


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

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/DataImportCLI

    v9 v10  
    1717Define the target resource:
    1818{{{
    19 resource = s3mgr.define_resource("project", "activity")
     19resource = s3db.resource("project_activity")
    2020}}}
    2121
     
    3535print resource.error          # prints the error message
    3636
    37 print s3mgr.xml.tostring(resource.error_tree, pretty_print=True) # prints the error tree as XML
     37print current.xml.tostring(resource.error_tree, pretty_print=True) # prints the error tree as XML
    3838}}}
    3939