#8882: Unique and Unique together in admin inlines is not working
-------------------------------------+--------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody    
   Status:  new                      |   Milestone:            
Component:  Admin interface          |     Version:  1.0       
 Keywords:                           |       Stage:  Unreviewed
Has_patch:  0                        |  
-------------------------------------+--------------------------------------
 The admin site fails when trying to create two registers (not unique) on a
 model with unique or unique together fields. It doesn't check for the
 unique statement and database backend raises an IntegrityError exception
 like this:

 IntegrityError at /admin/myapp/mymodel/add/
 (1062, "Duplicate entry '2-1' for key 2")

 I haven't checked if the problem exists in "handmade" forms, but in admin
 site it fails.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8882>
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