#14567: ModelMultipleChoiceField inconsistently returns a list if empty.
-------------------------------+--------------------------------------------
          Reporter:  melinath  |         Owner:  nobody
            Status:  new       |     Milestone:        
         Component:  Forms     |       Version:  SVN   
        Resolution:            |      Keywords:        
             Stage:  Accepted  |     Has_patch:  1     
        Needs_docs:  0         |   Needs_tests:  0     
Needs_better_patch:  1         |  
-------------------------------+--------------------------------------------
Changes (by dmoisset):

  * needs_better_patch:  0 => 1

Comment:

 I have two tests failures after applying the patch (which weren't there
 before):

 {{{
 ======================================================================
 FAIL: test_callable_initial_value
 (regressiontests.forms.models.ModelFormCallableModelDefault)
 The initial value for a callable default returning a queryset is the pk
 (refs #13769)
 ----------------------------------------------------------------------
 ======================================================================
 FAIL: test_initial_instance_value
 (regressiontests.forms.models.ModelFormCallableModelDefault)
 Initial instances for model fields may also be instances (refs #7287)
 ----------------------------------------------------------------------
 }}}

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