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

Add support for postgres ArrayField #472

Conversation

thauk-copperleaf
Copy link
Contributor

Add postgres ArrayField to widget_from_django_field() lookup and have it return a new widget, SimpleArrayWidget, when running Django >= 1.8.

@thauk-copperleaf
Copy link
Contributor Author

Resolves #469

@bmihelac
Copy link
Member

bmihelac commented Jun 5, 2016

Thanks @thauk-copperleaf. Would it be possible to add some test with new functionality? It would make it much easier for other developers that are not familiar with ArrayField (like I am )

@thauk-copperleaf
Copy link
Contributor Author

Here's a test. It took me a while how to elegantly create a migration that would only create the model for postgres.

…ostgres-arrayfield-to-widget-lookup

# Conflicts:
#	tests/core/tests/resources_tests.py
@bmihelac
Copy link
Member

Merged, thanks a lot!

@bmihelac bmihelac merged commit 7cb7147 into django-import-export:master Jul 14, 2016
@thauk-copperleaf thauk-copperleaf deleted the add-postgres-arrayfield-to-widget-lookup branch July 14, 2016 21:34
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.

None yet

2 participants