﻿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
1219	There's no way to bulk delete a set of objects	jacobkm	Russell Keith-Magee	"[http://groups.googlegroups.com/group/django-users/browse_thread/thread/492dded0550ed742/f8f8d957abec6951#f8f8d957abec6951 Ned Batchelder wrote to django-users]:
{{{
> I'm used to writing SQL statements like:
> 
>    delete from app_things where type = 'foo';
> 
> to delete a number of objects at once.  I don't see a way to do this
> type of delete in Django. I was hoping for something like:
> 
>    things.delete(type__exact='foo')
> 
> Certainly I could do this:
> 
>    for t in things.get_list(type__exact='foo'):
>       t.delete()
> 
> but this incurs a lot more database activity.
}}}"	defect	closed	Database layer (models, ORM)		normal	fixed			Unreviewed	0	0	0	0	0	0
