[Django] #32328: ArrayField in admin should show items as individual form controls

7 views
Skip to first unread message

Django

unread,
Jan 6, 2021, 11:42:05 AM1/6/21
to django-...@googlegroups.com
#32328: ArrayField in admin should show items as individual form controls
-----------------------------------------+------------------------
Reporter: Sumanth Ratna | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-----------------------------------------+------------------------
Right now, `ArrayField`s are rendered as a text input of all the values
concatenated by `','`. Instead, the Django admin should incorporate
functionality similar to https://github.com/gradam/django-better-admin-
arrayfield in order to allow users to better edit `ArrayField`s in the
admin panel.

--
Ticket URL: <https://code.djangoproject.com/ticket/32328>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 7, 2021, 3:00:24 AM1/7/21
to django-...@googlegroups.com
#32328: Add to admin a friendly widget for ArrayField.
-------------------------------+--------------------------------------

Reporter: Sumanth Ratna | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution: needsinfo

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => needsinfo


Comment:

Thanks for this patch, however I'm a bit sceptical. I'm not not sure how
this could looks like for nested `ArrayField`s. We a have a similar ticket
(#25197) for `HStoreField` that remains idle for few years. We can
reconsider this ticket when someone prepares a proof of concept.

--
Ticket URL: <https://code.djangoproject.com/ticket/32328#comment:1>

Django

unread,
May 17, 2022, 11:49:18 AM5/17/22
to django-...@googlegroups.com
#32328: Add to admin a friendly widget for ArrayField.
-------------------------------+--------------------------------------
Reporter: Sumanth Ratna | Owner: nobody
Type: New feature | Status: closed
Component: contrib.admin | Version: 3.1
Severity: Normal | Resolution: needsinfo

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------

Comment (by Mariusz Felisiak):

#33714 was a duplicate for `ArrayField`s where a `base_field` has
`choices`.

--
Ticket URL: <https://code.djangoproject.com/ticket/32328#comment:2>

Reply all
Reply to author
Forward
0 new messages