As there are field level export callbacks, there should be import as well.

CommentFileSizeAuthor
import_callback.patch1.07 KBchx

Comments

chx’s picture

As an example, the partial conversion of the input_formats to this patch is http://paste.pocoo.org/show/422556/ here. It's definitely cleaner than the notice-throwing we have now.

merlinofchaos’s picture

Currently the api supports export callbacks on both an object and field level.

We should probably be symmetrical with that and offer the import callback the same way. Otherwise I'm in favor of this.

merlinofchaos’s picture

This will also require updates to the export.html documentation and the API.txt file.

merlinofchaos’s picture

Status: Needs review » Needs work