Opened 15 months ago
Closed 15 months ago
#34797 closed Uncategorized (invalid)
Django Admin radio fields admin.HORIZONTAL shows as vertical with django-grapelli.
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")
Attachments (2)
Change History (5)
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.
comment:2 by , 15 months ago
Resolution: | invalid |
---|---|
Status: | closed → new |
Same results with Django 4.0.10
comment:3 by , 15 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Again, this is not a bugtracker for django-grappelli
, please report it on their bugtracker. It works for me without django-grappelli
.
Note:
See TracTickets
for help on using tickets.
Django 2.2.10