1. don't return DB models from the objects API (only return Objects) 2. delete shouldn't return anything 3. update_and_save should return the refreshed object. Note: there is still some inconsistency in what is returned by update_by_id() some return an object and some return a bool. Related-bug: #1432936 Change-Id: I1a0a38773d4fc4a62af5e0a98076396f39187b6c
3.3 KiB
3.3 KiB