#30544: Django 2.1 release notes don't mention the BooleanField(blank=False)
default change
-------------------------------------+-------------------------------------
Reporter: Sergei | Owner: nobody
Maertens |
Type: | Status: new
Cleanup/optimization |
Component: | Version: 2.1
Documentation | Keywords: booleanfield,
Severity: Normal | documentation, release notes
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
In
https://github.com/django/django/commit/5fa4f40f45fcdbb7e48489ed3039a314b5c961d0#r30206325
the `blank=True` default for `BooleanField` was removed, effectively
turning it into `blank=False` because of the super class. This change is
not mentioned in the Django 2.1 release notes.
My tests caught it because I have some introspection going on, I don't
think it will break any actual usage, but it left me wondering why that
test started failing.
--
Ticket URL: <https://code.djangoproject.com/ticket/30544>
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/058.faed6baa02be6057cc73713fc7c3456a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.