#3083: MySQL IntegrityError Exception on object creation
-------------------------+--------------------------------------------------
   Reporter:  anonymous  |                Owner:  adrian                
     Status:  new        |            Component:  Database wrapper      
    Version:             |           Resolution:                        
   Keywords:             |                Stage:  Design decision needed
  Has_patch:  0          |           Needs_docs:  0                     
Needs_tests:  0          |   Needs_better_patch:  0                     
-------------------------+--------------------------------------------------
Comment (by enlight):

 I'm not a fan of Django magically handling IntegrityError(s), there are
 different ways to handle them and picking just one won't be very flexible,
 though I don't use generic views for my add/edit/update so I'm a bit
 biased. Like I mentioned on Django-users I think the best approach to this
 is simply to remove the dependency on the db module by making
 IntegrityError available directly through django.db, I'll submit a patch
 that does this soon.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3083#comment:4>
Django Code <http://code.djangoproject.com/>
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to