Ticket #16168: 16168_v2.diff

File 16168_v2.diff, 694 bytes (added by krzysiumed, 3 years ago)
  • docs/topics/forms/modelforms.txt

    diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
    index 832a3ac..bc7c5ba 100644
    a b parameter when declaring the form field:: 
    443443            class Meta:
    444444                model = Article
    445445
     446    Furthermore, you have to make sure that the contents of the form field can
     447    be used to set the contents of the corresponding model field. When they are
     448    not compatible, you will get a ``ValueError`` as no implicit conversion takes
     449    place.
     450
    446451    See the :doc:`form field documentation </ref/forms/fields>` for more information
    447452    on fields and their arguments.
    448453
Back to Top