django-nested-inline
django-nested-inline copied to clipboard
Nested inline support for Django admin
As of django 1.10 InlineModelAdmin.classes is supported. [https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin.classes](https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin.classes) But it does not work under nested-inline
The get_readonly_fields of a nested inline does not have the proper obj passed: Consider the following configuration: ``` class SecondLevelInline(NestedStackedInline): model = SecondLevelModel def get_readonly_fields(self, request, obj=None): # obj is...
The ModelAdmin class has a property called 'save_as', which if set to True, will include a "Save as new" button on the admin change view. When the property is added...
Hi there, The solution is just to change line 45 of the inline-nested.js to the following: if ($this.prop("tagName") == "TR") { (instead of $this.attr("tagName") ) Otherwise, the test above is...
The "Add another..." button, in the context of the NestedTabularInline template, is breaking the layout of the table, because the JS is inserting div.add-row after all the tr elements within...
Can't use show_change_link property. So I modify the template files.
I've added a raw_id field to a card model inside level two of your example provided. The first inline that is being shown, opens a modal window correctly when you...
The problem is when dealing with rtl languages your custom css override the rtl.css file The Only problem I have seen where with label going all the way to the...
This is my situation and it works fine, but if I set extra = 0 for LevelOneInline in the admin there is no row with an **'Add another LevelTwo object'**...
I have email as unique field in database and email fields are not properly validated in inline forms. If I gave same emails into more than one forms(inline forms), then...