mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
This commit is contained in:
@@ -67,7 +67,9 @@ Model field Form field
|
||||
``True`` on the model field, otherwise not
|
||||
represented in the form.
|
||||
|
||||
:class:`BooleanField` :class:`~django.forms.BooleanField`
|
||||
:class:`BooleanField` :class:`~django.forms.BooleanField`, or
|
||||
:class:`~django.forms.NullBooleanField` if
|
||||
``null=True``.
|
||||
|
||||
:class:`CharField` :class:`~django.forms.CharField` with
|
||||
``max_length`` set to the model field's
|
||||
|
||||
Reference in New Issue
Block a user