Opened 3 years ago

Closed 3 years ago

#18618 closed New feature (needsinfo)

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

Reported by: ctao 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


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 ctao 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by ctao

comment:1 Changed 3 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to needsinfo
  • Status changed from new to closed

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