Updated list of field types conversions in ModelForm docs.

This commit is contained in:
Adam Johnson 2019-11-01 19:44:42 +00:00 committed by Mariusz Felisiak
parent 607004f81a
commit 5a856669bf
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`
@ -120,6 +122,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