The current admin widget for ArrayField is one field, with comma as delimiter, like this (text list):
This isn't ideal because I would have longer texts (even 20 words) and contain commas. I could change the delimiter to be something else but that still doesn't help with unreadable content in admin.
What I would like is having a list of fields, that I can alter in admin. Something similar to the following image
I could use another table to solve this, but I wonder if it's possible to solve it this way.
Try to take a look in this one :
Better ArrayField admin widget?
I think is more about a js thing after you have rendered the Array in a different way.
Unfortunately Django does not ship with a convenient widget for
ArrayField
s yet. I'd suggest you to create your own. Here is an example for Django>=1.11:Here is the widget template:
A few javascript (using jQuery for convenience):
And you would also have to create your own form field:
Finally, set it explicitly on your forms: