id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 436 Create an API to update and delete multiple objects in a single call Maurycy Pawłowski-Wieroński Adrian Holovaty "Many times you need to delete or update one or many objects, without retreving them first. My proposal is to add ''fetch'' parameter to ''get_list'' and ''get_object'' methods, which would point whether send select query or create empty models with only specified fields, for further operations, like delete or update. For example: {{{ # No SQL queries, since fetch=False is set. choices are empty and have only poll_id field. choices = choices.get_list(poll__exact=1, fetch=False) # Now call: DELETE FROM poll_choices WHERE poll_id = 1 choices.delete() }}} See also #433." defect closed Metasystem normal fixed wojtek@… Unreviewed 0 0 0 0 0 0