summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-03-21 10:54:53 -0400
committerTim Graham <timograham@gmail.com>2014-03-21 10:54:53 -0400
commit4965a774074780f3e4858bcc975476f71edf2c2c (patch)
tree938b3f520bf53384ca644c4e85cf737a9a466771 /docs/ref
parent6d1ae5e27c3fe612209023bacd8a201fffedc375 (diff)
Removed PIL compatability layer per deprecation timeline.
refs #19934.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/forms/fields.txt14
-rw-r--r--docs/ref/models/fields.txt4
2 files changed, 8 insertions, 10 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 975b77ef29..5363284b39 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -619,22 +619,20 @@ For each field, we describe the default widget used if you don't specify
* Normalizes to: An ``UploadedFile`` object that wraps the file content
and file name into a single object.
* Validates that file data has been bound to the form, and that the
- file is of an image format understood by Pillow/PIL.
+ file is of an image format understood by Pillow.
* Error message keys: ``required``, ``invalid``, ``missing``, ``empty``,
``invalid_image``
- Using an ``ImageField`` requires that either `Pillow`_ (recommended) or the
- `Python Imaging Library`_ (PIL) are installed and supports the image
- formats you use. If you encounter a ``corrupt image`` error when you
- upload an image, it usually means either Pillow or PIL
- doesn't understand its format. To fix this, install the appropriate
- library and reinstall Pillow or PIL.
+ Using an ``ImageField`` requires that `Pillow`_ is installed with support
+ for the image formats you use. If you encounter a ``corrupt image`` error
+ when you upload an image, it usually means that Pillow doesn't understand
+ its format. To fix this, install the appropriate library and reinstall
+ Pillow.
When you use an ``ImageField`` on a form, you must also remember to
:ref:`bind the file data to the form <binding-uploaded-files>`.
.. _Pillow: http://python-imaging.github.io/Pillow/
-.. _Python Imaging Library: http://www.pythonware.com/products/pil/
``IntegerField``
~~~~~~~~~~~~~~~~
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 39af0c64b0..feaf846b24 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -841,9 +841,9 @@ optional arguments:
Name of a model field which will be auto-populated with the width of the
image each time the model instance is saved.
-Requires the `Python Imaging Library`_.
+Requires the `Pillow`_ library.
-.. _Python Imaging Library: http://www.pythonware.com/products/pil/
+.. _Pillow: http://python-imaging.github.io/Pillow/
By default, :class:`ImageField` instances are created as ``varchar(100)``
columns in your database. As with other fields, you can change the maximum