On May 2, 4:29 am, Wayne <wayneshen...@gmail.com> wrote:
> Hi,
>
> We are trying to customize Django admin change list displaying model
> objects. We want to add two buttons (Change, delete) to each row of
> the record, something very similar to "Add" and "Change" buttons on
> application list beside the model name. Could somebody give us some
> hint on this? The "list_display" can only take existing fields, but
> not the extra buttons we want to add, right? We do not want to provide
> user with batch admin actions option. That is why we want to add
> action to each row.  Drop down actions menu is not our design
> preference.
>
> Thanks for your help.
>
> Wayne

The docs explain how you can use arbitrary ModelAdmin methods in
list_display, which will do what you want.
http://docs.djangoproject.com/en/1.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display
--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to