summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2012-07-08 12:57:04 +0200
committerJannis Leidel <jannis@leidel.info>2012-07-08 12:57:04 +0200
commiteffc2cad95dbf96ee6fd0ac3fd2da18948135d49 (patch)
tree466ab44277bc612864dc3f74f7245f5c7ad6ec5e /docs/ref/forms
parent3727f6d09681e4cb23d67e14ecc677a364c991bd (diff)
parent5e94ef293cb1cfe4dc43cbd5509653c0e0bf66cf (diff)
Merge branch 'master' of github.com:django/django
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/fields.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 486d49d796..082ec17a35 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -591,7 +591,11 @@ For each field, we describe the default widget used if you don't specify
* Error message keys: ``required``, ``invalid``, ``missing``, ``empty``,
``invalid_image``
- Using an ImageField requires that the `Python Imaging Library`_ is installed.
+ Using an ``ImageField`` requires that the `Python Imaging Library`_ (PIL)
+ is installed and supports the image formats you use. If you encounter a
+ ``corrupt image`` error when you upload an image, it usually means PIL
+ doesn't understand its format. To fix this, install the appropriate
+ library and reinstall PIL.
When you use an ``ImageField`` on a form, you must also remember to
:ref:`bind the file data to the form <binding-uploaded-files>`.