Opened 20 years ago
Closed 20 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 , 20 years ago
| Summary: | Ability to delete multiple objects on a single call → Add ability to delete multiple objects in a single call |
|---|
comment:2 by , 20 years ago
| Cc: | added |
|---|
comment:3 by , 20 years ago
comment:4 by , 20 years ago
| Component: | Database wrapper → Metasystem |
|---|
Note:
See TracTickets
for help on using tickets.
On ticket #436. someone suggested delete_list() as a name; I find that clearer than delete(). Otherwise, I'm +1 on this idea.