简体   繁体   中英

Flask App Builder - Post Processing Model View

Is there any way with Flask App builder to add post processing to after the form has been posted? For example, after the add form is submitted, I'd like to modify some of the data that has been sent.

I cannot for the life of me find anything in the docs, and I feel like this should be basic functionality.

Thanks

This can be accomplished by overriding the post_add function. If you want to modify the data before it is sent (which is what I wanted to do) that would be overriding the pre_add function.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM