Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[1.6.x] Fixed #21507 -- Corrected default widget information for File…


Backport of 70e6131 from master
  • Loading branch information...
commit 593ec42ad1375d8644e3eb485566315f0187de99 1 parent df18cc6
@ludwiktrammer ludwiktrammer authored timgraham committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 docs/ref/models/fields.txt
6 docs/ref/models/fields.txt
@@ -585,7 +585,8 @@ Also has one optional argument:
Optional. A storage object, which handles the storage and retrieval of your
files. See :doc:`/topics/files` for details on how to provide this object.
-The default form widget for this field is a :class:`~django.forms.FileInput`.
+The default form widget for this field is a
Using a :class:`FileField` or an :class:`ImageField` (see below) in a model
takes a few steps:
@@ -833,6 +834,9 @@ By default, :class:`ImageField` instances are created as ``varchar(100)``
columns in your database. As with other fields, you can change the maximum
length using the :attr:`~CharField.max_length` argument.
+The default form widget for this field is a
Please sign in to comment.
Something went wrong with that request. Please try again.