Opened 11 years ago

Closed 11 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: UI/UX:

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 Changed 11 years ago by Adrian Holovaty

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

comment:2 Changed 11 years ago by anonymous

Cc: maurycypw@… added

comment:3 Changed 11 years ago by rmunn@…

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 Changed 11 years ago by Adrian Holovaty

Component: Database wrapperMetasystem

comment:5 Changed 11 years ago by Adrian Holovaty

Resolution: duplicate
Status: newclosed

Duplicate of #436.

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