Hugoagogo
Hugoagogo

Reputation: 1646

Django admin: two change lists on the same page

I am trying to make an overview page for one of my models I have read through all of http://www.djangobook.com/en/1.0/.chapter17/ and understand how I can add my own custom views for a model to the django admin.

What I am currently trying to do is add multiple filtered change lists (presenting some child models) onto my "overview" page for the model. In these I would like to be able to make use of some of the admin features such as editable fields or actions.

Does anyone have some pointers on how I can best get started with this.

Upvotes: 1

Views: 664

Answers (1)

ashish
ashish

Reputation: 2180

Check this out

He created a proxy model for the original model to avoid the conflict. You can create a new model admin or inherit the old ModelAdmin(as shown in the link)

Upvotes: 1

Related Questions