Django Data Wizard
Django Data Wizard

Column Choices

Column Choices

GET /datawizard/[id]/columns

The columns task lists all of the columns found in the source dataset (i.e. spreadsheet) and their mappings to target serializer fields. This screen is shown by the auto task if there are any column names that could not be automatically mapped. The potential mappings are one of:

  • simple serializer field names (e.g. field)
  • nested field names (for [natural keys], e.g. nested[record][field])
  • EAV attribute-value mappings (e.g. values[][value];attribute_id=1). Note that EAV support requires a custom serializer class.

The default run_columns.html template (and corresponding RunColumns React view) includes an interface for mapping data columns to serializer fields. If all columns are already mapped, the template will display the mappings and a button to (re)start the auto task.

Source: data_wizard.tasks.read_columns

© 2012-2022 by S. Andrew Sheppard