#24347: parameter 'widget' of BoundField.as_widget is ignored
-------------------------------------+-------------------------------------
     Reporter:  srkunze              |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Forms                |                  Version:  1.8beta1
     Severity:  Normal               |               Resolution:
     Keywords:  BoundField,          |             Triage Stage:
  as_widget                          |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------

Comment (by srkunze):

 Here, we go:
 
https://github.com/srkunze/django/commit/c1fdbeeb19a41b2f3dcc09f501bd5ff9298b846d

 14 tests now:
 {{{
 D1) FAILED    test_boundfield__unbound_form__date
 D2) FAILED    test_boundfield__changed_bound_form__date
 D3) FAILED    test_boundfield__changed_bound_form__bogus_initial__date
 D4) FAILED    test_boundfield__changed_bound_form__missing_initial__date
 D5) SUCCEEDED test_boundfield__unchanged_bound_form__date
 D6) SUCCEEDED test_boundfield__unchanged_bound_form__missing_initial__date

 I1) SUCCEEDED test_boundfield__unbound_form__integer
 I2) FAILED    test_boundfield__changed_bound_form__integer
 I3) FAILED    test_boundfield__changed_bound_form__bogus_initial__integer
 I4) FAILED
 test_boundfield__changed_bound_form__missing_initial__integer
 I5) SUCCEEDED test_boundfield__unchanged_bound_form__integer
 I6) SUCCEEDED
 test_boundfield__unchanged_bound_form__missing_initial__integer
 }}}


 **unbound_form** - should be clear
 **changed_bound_form** - form with data that has changed with regard to
 initial
 **unchanged_bound_form** - form with data that has not changed with regard
 to initial
 **bogus_initial** - user changed hidden initial
 **missing_initial** - browser did not send hidden initial

--
Ticket URL: <https://code.djangoproject.com/ticket/24347#comment:20>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.5f54d9791f96a53762861110deb7fe9e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to