Opened 17 years ago
Closed 17 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')),})
Note:
See TracTickets
for help on using tickets.
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.