django-unfold
django-unfold copied to clipboard
Add support for django-nested-admin
Hello,
When using django-nested-admin's nested inlines, unfoldadmin does not show inputs/forms correctly.
Is there any plan to fix these issues? I think it deserves to be supported as well as django-guardian and django-simple-history because django-nested-admin is a popular extension for django-admin.
@cinarizasyon are you extending the admin classes with the relevant UnfoldAdmin models?
@mcosti yeah, my admin classes seem like:
class BusinessAdmin(ExtraButtonsMixin, CustomModelAdmin, NestedModelAdmin):
....
This requires custom styling and integration.
Just wanted to add a +1 here for this package. The apps I run that could most use unfold
all depend on django-nested-admin
for some data entry. It would be great to see the package supported, or another solution for nested inlines.
Will django-nested-inline support be added in near future? Or are there any workarounds?
With django-nested-admin, I managed to fix the field style in unfold way, by adding extension like :
from unfold.contrib.inlines.admin import TabularInline as UnfoldTabularInline
class ShopSPUAtlasInline(UnfoldTabularInline, nested_admin.NestedTabularInline):
pass
However, switching to mobile display, the css width is not compliant with the mobile screen:
Does anyone know how to fix the css width in this situation ? Thanks a lot.
For third party application integration you can contact us here https://unfoldadmin.com/