#16539: ModelForms ignore default values when value is not supplied
--------------------------------------+----------------------------
               Reporter:  semarjt@…   |          Owner:  nobody
                   Type:  Bug         |         Status:  new
              Milestone:              |      Component:  Forms
                Version:  1.3         |       Severity:  Normal
             Resolution:              |       Keywords:  Model|Form
           Triage Stage:  Unreviewed  |      Has patch:  0
    Needs documentation:  0           |    Needs tests:  0
Patch needs improvement:  0           |  Easy pickings:  1
                  UI/UX:  0           |
--------------------------------------+----------------------------
Changes (by anonymous):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 Replying to [ticket:16539 semarjt@…]:
 > A model with boolean fields has values set to False, regardless of
 default in model declaration.
 >
 > This is only if ModelForms are used to create the instance
 >
 > There is a working example here:
 https://github.com/joelsemar/formapp.git
 >
 > this is a simple base case, easily runnable.


 bad url: https://github.com/joelsemar/formapp

 sorry

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16539#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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to