I am using django-nested-admin in order to recursively create relations with the same model (like a parent/child relationship).
So I have three levels of nested inlines: Level1, Level2 and Level3
Level2 and Level3 have is not limited with the max_num option but Level1 is limited with 2 as its max_num's value.
It means that I can have as many Level3 nested in a Level2 and Level2 in a Level1 as I want.
But when I reach the maximum number of Level1, all the links to add a nested objects are hidden, included the one permitting to add Level2 or Level3 objects. Thus even if I can add a second Level1, I can add nested objects in itself or even in other Level objects that were already existing.
Image 1 is before reaching the maximum number
Image 2 is when the maximum number is reached
I am using:
Django 3.2.15
django-nested-admin 3.4
Could you help me on that please ?
Did I miss something or is it an issue ?
I am using
django-nested-admin
in order to recursively create relations with the same model (like a parent/child relationship). So I have three levels of nested inlines:Level1
,Level2
andLevel3
Level2
andLevel3
have is not limited with themax_num
option butLevel1
is limited with 2 as itsmax_num
's value. It means that I can have as manyLevel3
nested in aLevel2
andLevel2
in aLevel1
as I want.But when I reach the maximum number of
Level1
, all the links to add a nested objects are hidden, included the one permitting to addLevel2
orLevel3
objects. Thus even if I can add a second Level1, I can add nested objects in itself or even in other Level objects that were already existing.Image 1 is before reaching the maximum number
Image 2 is when the maximum number is reached
I am using:
Could you help me on that please ? Did I miss something or is it an issue ?