Re: DjangoAdmin Inline with list of links to children, not their forms. Is it possible?

2017-12-17 Thread Ramez Ashraf
Yes it is.. but it might require some hacks . The idea is to provide the List of children objects as an initial to the formset being created. Till 1.11 there was no "clean" way to do it.. you have to override the _create_formsets on model admin You may also need to filter those initials so there

DjangoAdmin Inline with list of links to children, not their forms. Is it possible?

2017-12-17 Thread IL Ka
Hello. I have categories and objects and object has foreign key to the category. I want to give user ability to open category in admin and see list of objects. ``StackedInline`` along with ``show_change_link = True`` solves it. However, it displays form for every single object in category. My o