Code

Ticket #16168: 16168_v2.diff

File 16168_v2.diff, 694 bytes (added by krzysiumed, 2 years ago)
Line 
1diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
2index 832a3ac..bc7c5ba 100644
3--- a/docs/topics/forms/modelforms.txt
4+++ b/docs/topics/forms/modelforms.txt
5@@ -443,6 +443,11 @@ parameter when declaring the form field::
6             class Meta:
7                 model = Article
8 
9+    Furthermore, you have to make sure that the contents of the form field can
10+    be used to set the contents of the corresponding model field. When they are
11+    not compatible, you will get a ``ValueError`` as no implicit conversion takes
12+    place.
13+
14     See the :doc:`form field documentation </ref/forms/fields>` for more information
15     on fields and their arguments.
16