Selaa lähdekoodia

Fixed #24674 -- Documented the correct NullBooleanField formfield.

Thanks to knbk for the report.
Simon Charette 10 vuotta sitten
vanhempi
commit
37e23c6060
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      docs/topics/forms/modelforms.txt

+ 1 - 1
docs/topics/forms/modelforms.txt

@@ -96,7 +96,7 @@ Model field                         Form field
 :class:`ManyToManyField`            :class:`~django.forms.ModelMultipleChoiceField`
                                     (see below)
 
-:class:`NullBooleanField`           :class:`~django.forms.CharField`
+:class:`NullBooleanField`           :class:`~django.forms.NullBooleanField`
 
 :class:`PositiveIntegerField`       :class:`~django.forms.IntegerField`