pallets-eco / flask-admin

Simple and extensible administrative interface framework for Flask
BSD 3-Clause "New" or "Revised" License
5.69k stars 1.56k forks source link

Request for Enhanced Documentation on Overriding ajax_update in Flask-Admin #2401

Open FrancescoGalasso opened 7 months ago

FrancescoGalasso commented 7 months ago

I am writing to address an issue with the ajax_update(*args, **kwargs) as described in the Flask-Admin documentation. The current description does not provide clear guidance on overriding this method for instance-specific behaviors.

In practice, I attempted to modify the ajax_update to alter the editing behavior of an editable column in my list view. However, all my attempts resulted in a POST request returning a 404 error, indicating a disconnect between the documentation and practical implementation.

Could the documentation be updated to include more technical details and guidance on how to successfully override the ajax_update method for custom behaviors in list view editing? Such an update would be immensely beneficial for developers seeking to customize this aspect of Flask-Admin.

Thank you for considering this request.