-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Here's my suggestion for further improvement: if a JSONField is being used to hold various values, like an "additional options" field, as I think is often the case, then the admin form doesn't necessarily know about every possible key. And perhaps the way the form is initialized varies, so that in certain contexts we only want to display and edit a portion of the complete JSON. Therefore, the clean method on an EntangledModelForm should access the JSON fields without reinitializing everything (see here).
One other thing to mention: More support for standard callbacks like get_fields would be great (to customize entangled fields being displayed on an add form vs a change form, for example). The way you've designed things, initially, though - I really like it!