django-modeltranslation icon indicating copy to clipboard operation
django-modeltranslation copied to clipboard

Admin display multiple fields on the same line

Open helioascorreia opened this issue 7 years ago • 0 comments

Hey guys, django as this feature in admin to display to or more properties in the same line

captura de ecra 2017-10-25 as 15 36 08

You can add this with the following code (example from django admin docs):

class FlatPageAdmin(admin.ModelAdmin):
    fieldsets = (
        (None, {
            'fields': (('first_name', 'last_name'), 'address', 'city', 'state'),
        }),
        ('Advanced options', {
            'classes': ('collapse',),
            'fields': ('registration_required', 'template_name'),
        }),
    )

It would be nice if model translation as something like that, what are your thoughts about this or anyone have accomplish this?

Best, Hélio

helioascorreia avatar Oct 25 '17 14:10 helioascorreia