plugins tickets import, jp (ticket/import): implemented mapping:

- mapping is an option allowing do map imported field to a specific field in the newly created item
- importers can now use complexe data types in options using JSON
This commit is contained in:
Goffi 2017-10-27 17:58:05 +02:00
commit 55a5b603fd

View file

@ -54,6 +54,7 @@ URL_REDIRECT_PREFIX = 'url_redirect_'
class BlogImportPlugin(object):
BOOL_OPTIONS = (OPT_UPLOAD_IMAGES, OPT_IGNORE_TLS)
JSON_OPTIONS = ()
OPT_DEFAULTS = {OPT_UPLOAD_IMAGES: True,
OPT_IGNORE_TLS: False}