Hello all,
I’ve got an app that accepts csv files, runs a couple of pandas operations including some calculations and end up with three pd.DataFrames that I push to my database.
Now, sometimes there will be the need to edit some entries (currently only via the admin panel) and when edits happen to fields that affect calculations, I need to rerun my calculations and update those table columns that represent results of those calculations.
Is there some kind of best practice implementing something like this?
I thought about a custom save function in the admin panel, that does just that - rerun the calculations and update the database entries.
Any hints?
Thanks in advance!