On 1/13/06, Ned Batchelder <[EMAIL PROTECTED]> wrote: > > 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') >
I think that's a good idea, but I'm worried about the behaviour of things.delete() with no parameters: would it just delete all of the things? Perhaps it should require that there is at least one parameter. --joey