Open mnzaki opened 9 years ago
It's a common issue that one needs to run some code after a new row is added in an inline formset (usually to setup widgets). django-suit has a system in-place to handle this (see https://github.com/darklow/django-suit/issues/337#issuecomment-72213815)
I think a similar system in super-inlines would make super-inlines more super.
django-suit implementation:
Hi @mnzaki,
Yes, I’ll add that in a near future. As you can see at this line, that’s what I already did for the django-grappelli integration.
It's a common issue that one needs to run some code after a new row is added in an inline formset (usually to setup widgets). django-suit has a system in-place to handle this (see https://github.com/darklow/django-suit/issues/337#issuecomment-72213815)
I think a similar system in super-inlines would make super-inlines more super.
django-suit implementation: