Opened 12 years ago

Closed 12 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 12 years ago.

Download all attachments as: .zip

Change History (2)

by tangc, 12 years ago

Attachment: 18618.diff added

comment:1 by Aymeric Augustin, 12 years ago

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