Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle crash when importing custom column name #1822

Conversation

matthewhegarty
Copy link
Contributor

@matthewhegarty matthewhegarty commented May 11, 2024

Problem

Closes #1815

Solution

Added additional checking for either attribute name or column name

Acceptance Criteria

Added tests and documentation.

@coveralls
Copy link

coveralls commented May 11, 2024

Coverage Status

coverage: 99.856% (+0.001%) from 99.855%
when pulling da7b4c4 on matthewhegarty:issue-1815-import-with-custom-column-name
into bdc35eb on django-import-export:main.

@matthewhegarty matthewhegarty merged commit 33f1807 into django-import-export:main May 13, 2024
13 checks passed
@matthewhegarty matthewhegarty deleted the issue-1815-import-with-custom-column-name branch May 13, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Referencing a column alias in the fields list causes a crash on import
2 participants