Another tip for Flask-Admin. The task’s requirements are:
- possibility to choose some model’s objects and download them in JSON
- possibility to upload them back
There is a ModelView property can_export, it adds an action to export in CSV or another format supported by tablib, but it does not allow to select records and there is no import. So for my task it’s not a solution.
The export is easy to do with an action decorathor.