#2659: [patch] get_object_or_none shortcut
------------------------------+---------------------------------------------
 Reporter:  Joeboy            |       Owner:  adrian
     Type:  enhancement       |      Status:  new   
 Priority:  normal            |   Milestone:        
Component:  Database wrapper  |     Version:  SVN   
 Severity:  normal            |    Keywords:        
------------------------------+---------------------------------------------
 I keep finding myself having to catch exceptions when I want to get an
 object if it exists and do something else if it doesn't. This patch
 provides a (hopefully) handy shortcut.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2659>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to