There was an error while loading. Please reload this page.
1 parent 964979e commit ebbc414Copy full SHA for ebbc414
docs/topics/forms/modelforms.txt
@@ -437,6 +437,10 @@ parameter when declaring the form field::
437
class Meta:
438
model = Article
439
440
+ You must ensure that the type of the form field can be used to set the
441
+ contents of the corresponding model field. When they are not compatible,
442
+ you will get a ``ValueError`` as no implicit conversion takes place.
443
+
444
See the :doc:`form field documentation </ref/forms/fields>` for more information
445
on fields and their arguments.
446
0 commit comments