1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

View File

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