#15725: No easy way to get default model values into a ModelForm for validation
---------------------------------------+----------------------
               Reporter:  mark0978     |        Owner:  nobody
                   Type:  New feature  |       Status:  new
              Milestone:               |    Component:  Forms
                Version:  1.2          |     Severity:  Normal
             Resolution:               |     Keywords:
           Triage Stage:  Accepted     |    Has patch:  0
    Needs documentation:  0            |  Needs tests:  0
Patch needs improvement:  0            |
---------------------------------------+----------------------
Changes (by carljm):

 * component:  Uncategorized => Forms
 * stage:  Unreviewed => Accepted


Comment:

 It seems reasonable to me that default values from model fields, if
 present, would be used as default values for missing keys in data for a
 bound form, before it is validated.

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