django-nested-inline icon indicating copy to clipboard operation
django-nested-inline copied to clipboard

Nested inline support for Django admin

Results 79 django-nested-inline issues
Sort by recently updated
recently updated
newest added
trafficstars

This patch allows to overwrite the function get_inline_instances in classes Nested*. The problem was that instance was not present in get_inline_instances calls.

### When I use your package I got spaces, please solve it! ![image](https://github.com/OskarPersson/django-nested-inline/assets/61648680/0690a616-2fb6-4424-a447-c940c29d8ff5)

When I use the `NestedStackedInline` in a Django admin and the admin is in dark mode, Django's built-in components are rendered dark, but the `NestedStackedInline` stays light. I would like...

Currently, inlines with view permission are silently excluded by NestedModelAdmin where they would not be excluded by django.contrib.admin.ModelAdmin. This PR fixes that.

Hi! I have next code (admin.py): ``` class ExampleForm(ModelForm): class Meta: model = Example exclude = [] def is_multipart(self, *args, **kwargs): return True class ExampleTabItemGalleryInline(GalleryFieldOverride, NestedTabularInline): model = ExampleTabItemGallery fk_name...

Earliest Django version with it I could find is `1.10.x`: https://github.com/django/django/blob/stable/1.10.x/django/contrib/admin/options.py#L1860-L1861 but https://github.com/django/django/blob/stable/1.9.x/django/contrib/admin/helpers.py#L76 also exists so I think it should work under `1.9.x` but I only tested on `3.2.x`.

Django inlines traditionally use the method `get_inlines` to retrieve the list of inlines in a model, in case the user needs to conditionally decide which inlines to render. Even though...

Hi, On our system we are using django-autocomplete-light which loads some select2 stuff and this, which also seems to load some select2 javascript stuff. When I use both in the...

Dear all, When I set extra=0, nested inlines don't work and on the other hand, I get the following error in the console: ` Uncaught TypeError: Cannot read properties of...

duplicate