views:

31

answers:

1

I have a model with lots of say CharField fields, that I would like to edit in the admin.

The problem is that each field takes up one line. How should I make them display like this (horizontally): http://docs.djangoproject.com/en/1.1/_images/admin12.png

(they are not foreign keys)

A: 

Django 1.2 has ListEdit extension for the Admin

This is how you use it:

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

And this is how it looks like:

alt text

Vlad