#24674: NullBooleanField in a model is converted to NullBooleanField in a form, 
not
CharField
-------------------------------+--------------------
     Reporter:  knbk           |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Documentation  |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  1              |      UI/UX:  0
-------------------------------+--------------------
 The documentation[1] states that a `NullBooleanField` on a model is
 converted to a `CharField` when using a `ModelForm`. It is actually
 converted to a `NullBooleanField` [2].

 [1] https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#field-
 types
 [2]
 
https://github.com/django/django/blob/stable/1.8.x/django/db/models/fields/__init__.py#L2080

--
Ticket URL: <https://code.djangoproject.com/ticket/24674>
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/047.9cc65afc53651fc75ac8db31d66bf3de%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to