#34400: ModelFormSet not adding 'required' to fields
-------------------------------------+-------------------------------------
Reporter: DuraNathOG | Owner: nobody
Type: Bug | Status: closed
Component: Forms | Version: 4.0
Severity: Normal | Resolution: invalid
Keywords: form modelform | Triage Stage:
modelformset | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => invalid
Comment:
The `required` attribute of widgets is set when the widget is
[https://github.com/django/django/blob/4b1bfea2846f66f504265cec46ee1fe94ee9c98b/django/forms/widgets.py#L264
rendered], not when the form is instantiated.
--
Ticket URL: <https://code.djangoproject.com/ticket/34400#comment:1>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070186cce2ccc9-9f9866a9-f7bd-40ae-9531-62b62cc630d0-000000%40eu-central-1.amazonses.com.