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/group/django-developers/browse_thread/thread/685c52d252173bf4/

Gary

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
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