Re: Better form fields for django.contrib.postgres.fields

2016-05-24 Thread Paul Martin
*OK thanks for the replies. The first enhancement would be a change in how choices are handled for the ArrayField. With this change,* *choices would be based on the base field. If choices keyword argument is given, a multiple choice field is used and the array value will be composed* *of thes

Better form fields for django.contrib.postgres.fields

2016-05-23 Thread Paul Martin
Hi, This is my first time contributing to Django. It's a lot of different features in one to improve how form fields are produced for ArrayField, HStoreField and JSON FIeld. I opened a ticket here with more details and a screenshot of the admin for a sample model. https://code.djangoproject.c