#3230: <MODEL>.validate() doesn't consider unique=True in model definition.
----------------------------------------+-----------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian          
     Status:  new                       |            Component:  Database 
wrapper
    Version:                            |           Resolution:                 
 
   Keywords:                            |                Stage:  Unreviewed     
 
  Has_patch:  0                         |           Needs_docs:  0              
 
Needs_tests:  0                         |   Needs_better_patch:  0              
 
----------------------------------------+-----------------------------------
Comment (by Thomas Steinacher <[EMAIL PROTECTED]>):

 Replying to [comment:4 Michael Radziej <[EMAIL PROTECTED]>]:
 > But iaihmb doesn't even call validate() in his code, nor does newforms
 or Model.save(). I don't see where validate comes into play here.
 Shouldn't the summarybe 'newforms does not check uniqueness' or similar?
 
 He doesn't call validate() because it wouldn't check the uniqueness of the
 object. So if validate() isn't implemented yet, I suggest closing this as
 wontfix.
 
 I don't know whether it works with newforms or not – I didn't check that.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3230#comment:5>
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