Editing Django admin fields in tabular form

I have a model with many, say, fields CharField, which I would like to edit in the admin panel.

The problem is that each field occupies one row. How can I make them appear like this (horizontally): (source: djangoproject.com )http://docs.djangoproject.com/en/1.1/_images/admin12.png

(they are not foreign keys)

+5
source share
1 answer

Django 1.2 has ListEdit extension for admin

Here is how you use it:

class AccountAdmin(admin.ModelAdmin):
     list_display = ( 'Name','Type')
     list_editable = ( 'Type', )

And here is what it looks like:

alt text
(source: v-lad.org )

+9
source

All Articles