Opened 4 years ago

Closed 4 years ago

#18618 closed New feature (needsinfo)

while saving checkbox values into one field, the list_display with such a field failed

Reported by: tangc Owned by: nobody
Component: contrib.admin Version: 1.4
Severity: Normal Keywords: display_for_field list_display
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

a model field is going to be rendered into checkbox, such as

 choice = ((3,3), (4,4), (5, 5),)

 [x] 3
 [ ] 4
 [x] 5

And save it's values 3,5 into one field. The list_display with such a field failed.

Of course I can maintain my patch to Django, but I found it's troublesome while upgrade Django for the server is managed by other group.

Attachments (1)

18618.diff (702 bytes) - added by tangc 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by tangc

Attachment: 18618.diff added

comment:1 Changed 4 years ago by Aymeric Augustin

Resolution: needsinfo
Status: newclosed

I'm sorry, but I can't figure out what you're trying to do, nor why you want to modify Django.

Could you provide at least the definition of your model and your admin ?

Note: See TracTickets for help on using tickets.
Back to Top