Ignore:
Timestamp:
4 Jun 2011, 02:29:21 (13 years ago)
Author:
uli
Message:

Finally make the new converter work. API-wise it is as good as the old one (can import everyting, the old one could),
but design-wise it might be much more powerfull. Basically it can handle/convert all content-types for which one can
create an Add- or EditForm? successfully. In other words: if you manage to write an edit form for some content type,
then you can also create an importer for that content-type. Still finetuning needed (for dates, bool data, etc.) but
the main things work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/utils/batching.txt

    r6244 r6273  
    238238
    239239    >>> processor = CaveProcessor()
    240     >>> result = processor.doImport('newcomers.csv', 
     240    >>> result = processor.doImport('newcomers.csv',
    241241    ...                   ['name', 'dinoports', 'owner', 'taxpayer'],
    242242    ...                    mode='create', user='Bob', logger=logger)
Note: See TracChangeset for help on using the changeset viewer.