#13776: is_valid() with null field value on ModelForms from models with non-
nullable ForeignKeys causes ValueError
-------------------------------------+-------------------------------------
     Reporter:  peterbe              |                    Owner:
         Type:  Bug                  |  anubhav9042
    Component:  Forms                |                   Status:  closed
     Severity:  Normal               |                  Version:  master
     Keywords:  ModelForm            |               Resolution:  fixed
  ForeignKey                         |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45e049937d2564d11035827ca9a9221b86215e45"]:
 {{{
 #!CommitTicketReference repository=""
 revision="45e049937d2564d11035827ca9a9221b86215e45"
 Fixed #13776 -- Fixed ModelForm.is_valid() exception with non-nullable FK
 and blank=True.

 Thanks peterbe for the report.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13776#comment:21>
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6d9dcbc39d99beaa4366c0c90986e192%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to