I do not understand. models.LossCurveData is instantiated but not saved into the db, nor returned, so what is happening here?