django-import-export / django-import-export

Django application and library for importing and exporting data with admin integration.

Home Page:https://django-import-export.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The error message for invalid column names is misleading

matthewhegarty opened this issue · comments

Describe the bug

The error message for invalid column names is misleading. It also breaks the interface because FieldError is raised and thrown from the process, ignoring the raise_error flag.

To Reproduce

  • See test in PR

Versions (please complete the following information):

  • Django Import Export: 4.0.0 rc0
  • Python 3.11
  • Django 5.0.2

Expected behavior

A meaningful error message and can be controlled via raise_errors.