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

0 is interpreted as None in all widgets when importing from xls. #274

Closed
gauravdott opened this issue May 24, 2015 · 3 comments
Closed

0 is interpreted as None in all widgets when importing from xls. #274

gauravdott opened this issue May 24, 2015 · 3 comments
Labels
stale Stale bot

Comments

@gauravdott
Copy link

Can anybody tell me how to solve this problem?

@manelclos
Copy link
Contributor

Hi @gauravdott, I haven't still played with widgets. For XLS I usually subclass XLS Format class and then override the create_dataset function. It is quite easy and gives you full control. See create_dataset function: https://github.com/django-import-export/django-import-export/blob/master/import_export/formats/base_formats.py#L173

bmihelac added a commit that referenced this issue Jun 3, 2015
bmihelac added a commit that referenced this issue Jun 12, 2015
…reted-as-none

FIX: #274 0 is interpreted as None
@manelclos
Copy link
Contributor

Hi @gauravdott, can you test latest import_export code in git to see if it solves this issue?

@stale
Copy link

stale bot commented Feb 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale bot label Feb 11, 2019
@stale stale bot closed this as completed Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale bot
Projects
None yet
Development

No branches or pull requests

2 participants