From beb957041cd8c4d4badda58df1ed4d9729d9672c Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Mon, 20 Apr 2015 15:17:24 -0400 Subject: [PATCH] [1.8.x] Fixed #24674 -- Documented the correct NullBooleanField formfield. Thanks to knbk for the report. Backport of 37e23c606031d5b34197e196fb6e6fed0137bb37 from master --- docs/topics/forms/modelforms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 52ea0c512a..aae1fff8b5 100644 --- a/docs/topics/forms/modelforms.txt +++ b/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`