Re: [Django] #30610: Model.full_clean() doesn't prevetn invalid (null) values when blank=True.

2019-07-03 Thread Django
#30610: Model.full_clean() doesn't prevetn invalid (null) values when 
blank=True.
-+-
 Reporter:  Keryn Knight |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Keryn Knight):

 Ah, didn't find that when searching Trac, sorry.

 Perhaps it's worth pointing out that commenting out (just to see what
 happens) `if f.blank and raw_value in f.empty_values: continue` only seems
 to cause one test to fail (`test_validation_with_empty_blank_field`) and
 whilst it may be related to this, it doesn't look it at a glance.

-- 
Ticket URL: 
Django 
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/067.fc53935f56b2216b201b4a30ad513000%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #30610: Model.full_clean() doesn't prevetn invalid (null) values when blank=True. (was: Model.full_clean() can ignore invalid (null) values which should raise ValidationError, because of

2019-07-03 Thread Django
#30610: Model.full_clean() doesn't prevetn invalid (null) values when 
blank=True.
-+-
 Reporter:  Keryn Knight |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Database layer   |  Version:  master
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by felixxm):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Duplicate of #4.

-- 
Ticket URL: 
Django 
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/067.054efca3729b550edfbd7c8427d1137b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.