1👍
✅
According to the fieldsets
option what you’re asking it’s not feasible. The fields
inside fieldsets
must be of type str
or unicode
and not a callable one. They must match your model fields.
To overcome your problem you may override the change_form.html
template and add there your form.
Source:stackexchange.com