#34797 closed Uncategorized (invalid)
Django Admin radio fields admin.HORIZONTAL shows as vertical with django-grapelli. — at Version 1
Reported by: | Ken Ricci | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 4.2 |
Severity: | Normal | 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 (last modified by )
Recently upgraded to Django 4.2.4 with Grappelli 3.0.7 and admin.ModelAdmin
class EmployeeAdmin(admin.ModelAdmin): form = EmployeeAdminForm list_display = ('user', 'department','workgroup') search_fields = ('user__username',) radio_fields = {'show_weekends': admin.HORIZONTAL, 'group_by_dept': admin.HORIZONTAL} ... class Employee(models.Model): ... show_weekends = models.BooleanField(default=False, choices=((True,'Yes'),(False,'No')),help_text="Show weekends by default") group_by_dept = models.BooleanField(default=True, choices=((True,'Department'),(False,'Workgroup')),verbose_name="Group by", help_text="Group employees by Department or Workgroup")
Change History (3)
by , 15 months ago
Attachment: | admin.2.2.10.png added |
---|
comment:1 by , 15 months ago
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Summary: | Django Admin radio fields admin.HORIZONTAL shows as vertical → Django Admin radio fields admin.HORIZONTAL shows as vertical with django-grapelli. |
django-grappelli
doesn't support Django 4.1 or 4.2. You should report this on their bugtracker.
Note:
See TracTickets
for help on using tickets.
Django 2.2.10