#27039: ModelFields with 'default' value set and 'required'=False in form does
not
use default value
-------------------------------------+-------------------------------------
Reporter: devbis | Owner: nobody
Type: Bug | Status: new
Component: Forms | Version: 1.10
Severity: Release blocker | Resolution:
Keywords: default non- | Triage Stage: Accepted
required modelform |
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
Makes sense to me, however, on older Django versions, `{'f': ''}` as the
data also results in an instance with the model field default rather than
an empty string. Do you feel the behavior should be restored for that case
as well?
--
Ticket URL: <https://code.djangoproject.com/ticket/27039#comment:4>
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/064.66b1949424af3f577ef836de70c2da58%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.