Skip to content

Commit

Permalink
Updated list of field types conversions in ModelForm docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored and felixxm committed Nov 4, 2019
1 parent 607004f commit 5a85666
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/topics/forms/modelforms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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`

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5a85666

Please sign in to comment.