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 technically more appropriate than the current assertion.
However, it could be a bit of a nasty backwards incompatibility to
deal with, and the endpoint gain is just a prettier inerface. I
certainly wouldn't lose any sleep if it stayed the way it was.

Yours
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to