Opened 2 years ago

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

Download all attachments as: .zip

Change History (2)

Changed 2 years ago by ctao

comment:1 Changed 2 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 ?

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.