Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django Admin Inline Change List

I can edit a parent child relationship using the TablularInline and StackedInline classes, however I would prefer to list the child relationships as a change list as there is a lot of information and the forms are too big. Is there an inline change list available in DJango admin or a way or creating one?

like image 893
stinkypyper Avatar asked Aug 17 '09 21:08

stinkypyper


Video Answer


1 Answers

There's no such functionality built in, but I don't think it would be hard to create your own AdminInline subclass (and an accompanying template for it) that would do this. Just model it off TabularInline, but display fields' data directly instead of rendering form fields.

like image 89
Carl Meyer Avatar answered Sep 22 '22 12:09

Carl Meyer