#30689: Fix documentation for the `fields` argument of MultiValueField
-----------------------------------------+------------------------
               Reporter:  Adam Sołtysik  |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Documentation  |        Version:  2.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 In the
 [https://docs.djangoproject.com/en/2.2/ref/forms/fields/#multivaluefield
 documentation] there is the class header:

 {{{class MultiValueField(fields=(), **kwargs)}}}

 However, in the
 
[https://docs.djangoproject.com/en/2.2/_modules/django/forms/fields/#MultiValueField
 source code] the `fields` argument has no default value:

 {{{def __init__(self, fields, *, require_all_fields=True, **kwargs):}}}

 This behaviour seems to have changed in Django 2.0 (some of my forms
 started crashing after the upgrade), but there is nothing about it in the
 [https://docs.djangoproject.com/en/2.2/releases/2.0/ release notes].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30689>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.763723228819184f82b596887a1743bf%40djangoproject.com.

Reply via email to