Skip to content

Django 4.2 with VersionAdmin: wrapping in tuples does not have any effect (each field on separate line) #939

@stefanvollmar

Description

@stefanvollmar

According to the current Django 4.2 documentation, this

class FlatPageAdmin(admin.ModelAdmin):
    fields = [("url", "title"), "content"]

should display "url" and "title" on the same line - and it does in our project. However, in the same project, when using VersionAdmin (from django-reversion) instead of admin.ModelAdmin, everything works as expected with Django 4.1.8 but in Django 4.2, additional

blocks cause every field to be on its on new line. Sorry if this is a known problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions