Преглед изворни кода

Fixed #24674 -- Documented the correct NullBooleanField formfield.

Thanks to knbk for the report.
Simon Charette пре 10 година
родитељ
комит
37e23c6060
1 измењених фајлова са 1 додато и 1 уклоњено
  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`