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

BigIntegerField doesn't get recongnized as IntegerWidget #302

Closed
luto opened this issue Jul 19, 2015 · 1 comment
Closed

BigIntegerField doesn't get recongnized as IntegerWidget #302

luto opened this issue Jul 19, 2015 · 1 comment

Comments

@luto
Copy link
Contributor

luto commented Jul 19, 2015

ModelResource.widget_from_django_field only reconizes IntegerField, PositiveIntegerField, PositiveSmallIntegerField, SmallIntegerField and AutoField as integers.
This means that djangos BigIntegerField doesn't the IntegerWidget automatically, so it has to be manually.

Is there anything wrong with just adding BigIntegerField to the list?

@bmihelac
Copy link
Member

Hi @luto, I don't see any reason why this should not be added. Do you want to open a pull request?

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

No branches or pull requests

2 participants