#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 Mariusz Felisiak)

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)

admin.2.2.10.png (11.1 KB ) - added by Ken Ricci 16 months ago.
Django 2.2.10
admin.4.2.4.png (11.9 KB ) - added by Ken Ricci 16 months ago.
Django 4.2.4

Download all attachments as: .zip

Change History (5)

by Ken Ricci, 16 months ago

Attachment: admin.2.2.10.png added

Django 2.2.10

by Ken Ricci, 16 months ago

Attachment: admin.4.2.4.png added

Django 4.2.4

comment:1 by Mariusz Felisiak, 16 months ago

Description: modified (diff)
Resolution: invalid
Status: newclosed
Summary: Django Admin radio fields admin.HORIZONTAL shows as verticalDjango 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 Ken Ricci, 16 months ago

Resolution: invalid
Status: closednew

Same results with Django 4.0.10

comment:3 by Mariusz Felisiak, 16 months ago

Resolution: invalid
Status: newclosed

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.
Back to Top