#7975: Admin inlines incorrectly report "this field is required" if inline model
has field with default value
--------------------------------------+-------------------------------------
          Reporter:  russellm         |         Owner:  msaelices
            Status:  reopened         |     Milestone:  1.0      
         Component:  Admin interface  |       Version:  SVN      
        Resolution:                   |      Keywords:           
             Stage:  Accepted         |     Has_patch:  0        
        Needs_docs:  0                |   Needs_tests:  0        
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Changes (by kmtracey):

  * status:  closed => reopened
  * resolution:  worksforme =>

Comment:

 Notice the parenthetical remark I added above:

 (BTW you also need to add at least one more field to the Membership model
 to hit the error, as it is all the inlines appear to be fully complete
 with just the default !DateTime filled in.)

 That explains the behavior you describe.  To hit the error message you
 need to have at least one more field in Membership model, otherwise the
 inlines all appear to be completely filled in and they are simply added.
 This problem still exists, it's just the original models provided don't
 (and never did) actually demonstrate the problem.

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