support nested_admin
Opened this issue · 2 comments
MahmoodAbuIssa96 commented
will you add support for nested_admin ?
diamonddev107 commented
@MahmoodAbuIssa96 can you elaborate what you mean by support?
coldcloudgold commented
I would also like to see support for the django-nested-admin package
Something like:
from django_admin_inline_paginator.admin import InlinePaginated
from nested_admin.nested import NestedModelAdmin, NestedStackedInline
class NestedStackedInlinePaginated(InlinePaginated, NestedStackedInline):
pass
class MyModel1StackedInlinePaginatedAdmin(NestedStackedInlinePaginated):
model = MyModel1
...
class MyModel2StackedInlinePaginatedAdmin(NestedStackedInlinePaginated):
model = MyModel2
inlines = (MyModel1StackedInlinePaginatedAdmin,)
...
@admin.register(MyModel3)
class MyModel3StackedInlinePaginatedAdmin(NestedModelAdmin):
inlines = (MyModel2StackedInlinePaginatedAdmin,)
...