[2.2.x] Updated list of field types conversions in ModelForm docs.

Backport of 5a856669bf from master
This commit is contained in:
Adam Johnson 2019-11-01 19:44:42 +00:00 committed by Mariusz Felisiak
parent a43f71e55f
commit 24a0ce187a
1 changed files with 5 additions and 1 deletions

View File

@ -80,6 +80,8 @@ Model field Form field
:class:`DecimalField` :class:`~django.forms.DecimalField` :class:`DecimalField` :class:`~django.forms.DecimalField`
:class:`DurationField` :class:`~django.forms.DurationField`
:class:`EmailField` :class:`~django.forms.EmailField` :class:`EmailField` :class:`~django.forms.EmailField`
:class:`FileField` :class:`~django.forms.FileField` :class:`FileField` :class:`~django.forms.FileField`
@ -91,7 +93,7 @@ Model field Form field
:class:`ForeignKey` :class:`~django.forms.ModelChoiceField` :class:`ForeignKey` :class:`~django.forms.ModelChoiceField`
(see below) (see below)
``ImageField`` :class:`~django.forms.ImageField` :class:`ImageField` :class:`~django.forms.ImageField`
:class:`IntegerField` :class:`~django.forms.IntegerField` :class:`IntegerField` :class:`~django.forms.IntegerField`
@ -118,6 +120,8 @@ Model field Form field
:class:`TimeField` :class:`~django.forms.TimeField` :class:`TimeField` :class:`~django.forms.TimeField`
:class:`URLField` :class:`~django.forms.URLField` :class:`URLField` :class:`~django.forms.URLField`
:class:`UUIDField` :class:`~django.forms.UUIDField`
=================================== ================================================== =================================== ==================================================
.. currentmodule:: django.forms .. currentmodule:: django.forms