Opened 16 years ago

Closed 16 years ago

#9196 closed (invalid)

admin display multiple fields on the same line

Reported by: __sam Owned by: nobody
Component: contrib.admin Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

it seems that when you have got just 2 fields in a fieldset and you want to put them on the same line, it doesn't work :
{'fields': (('public_state','private_state')),})

Change History (1)

comment:1 by Karen Tracey, 16 years ago

Resolution: invalid
Status: newclosed

This is Python's curse of the missing trailing comma. Change your spec to:

{'fields': (('public_state','private_state'),)})

and the fields will be printed on the same line.

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