Changes between Version 2 and Version 3 of Ticket #28059
- Timestamp:
- Apr 11, 2017, 8:30:13 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28059
- Property Severity Normal → Release blocker
- Property Triage Stage Unreviewed → Accepted
- Property Summary Admin page cannot render horizontal radio buttons → ModelAdmin.radio_fields doesn't render admin.HORIZONTAL CSS classes
- Property Version master → 1.11
-
Ticket #28059 – Description
v2 v3 2 2 3 3 {{{ 4 class Person( Models.model):5 age = CharField(choices =(('Y', 'Young'), ('O', 'Old')))4 class Person(models.Model): 5 age = models.CharField(max_length=1, choices=(('Y', 'Young'), ('O', 'Old'))) 6 6 }}} 7 7 We want to display the choice of age in our admin change page in radio buttons, so we have the following codes in `admin.py`