Explorar el Código

Fixed #24674 -- Documented the correct NullBooleanField formfield.

Thanks to knbk for the report.
Simon Charette hace 10 años
padre
commit
37e23c6060
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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`