Re: #3511 MultipleObjectsReturned exception

2007-09-17 Thread Russell Keith-Magee
On 9/18/07, Gary Wilson <[EMAIL PROTECTED]> wrote: > > Any other core devs have an opinion about using a MultipleObjectsReturned > exception (or call it what you want) instead of an assert statement in > QuerySet.get()? I'm +0 on this. I can see it would be a nice addition, and an exception is te

#3511 MultipleObjectsReturned exception

2007-09-17 Thread Gary Wilson
Any other core devs have an opinion about using a MultipleObjectsReturned exception (or call it what you want) instead of an assert statement in QuerySet.get()? IMO, this would make things a bit cleaner and compliment DoesNotExist nicely. Original discussion was here: http://groups.google.com/gr