Opened 19 years ago

Closed 19 years ago

#433 closed enhancement (duplicate)

Add ability to delete multiple objects in a single call

Reported by: samuel Owned by: Adrian Holovaty
Component: Metasystem Version:
Severity: normal Keywords:
Cc: maurycypw@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There is a way to retrieve multiple objects using get_list function. There should be also a way to delete multiple objects on a single call. For example

polls.delete(total_votes__lt=10)

Change History (5)

comment:1 by Adrian Holovaty, 19 years ago

Summary: Ability to delete multiple objects on a single callAdd ability to delete multiple objects in a single call

comment:2 by anonymous, 19 years ago

Cc: maurycypw@… added

comment:3 by rmunn@…, 19 years ago

On ticket #436. someone suggested delete_list() as a name; I find that clearer than delete(). Otherwise, I'm +1 on this idea.

comment:4 by Adrian Holovaty, 19 years ago

Component: Database wrapperMetasystem

comment:5 by Adrian Holovaty, 19 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #436.

Note: See TracTickets for help on using tickets.
Back to Top