aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmer Katz2013-11-27 13:23:49 +0200
committerOmer Katz2013-11-27 13:23:49 +0200
commit2dce8d7a8a0e64f84994b6ac437e2d96920f094e (patch)
tree089b5b0b460d74bebcaa15803de0198eac1b94b0
parent43c4e3aab8b689bc846e52ef9bc512d1639205b6 (diff)
downloaddjango-rest-framework-2dce8d7a8a0e64f84994b6ac437e2d96920f094e.tar.bz2
Recommend using Pillow instead of PIL.
-rw-r--r--docs/api-guide/fields.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md
index 03c5af32..b0dedd39 100644
--- a/docs/api-guide/fields.md
+++ b/docs/api-guide/fields.md
@@ -286,7 +286,7 @@ An image representation.
Corresponds to `django.forms.fields.ImageField`.
-Requires the `PIL` package.
+Requires either the `Pillow` package or `PIL` package. It is strongly recommends to use `Pillow` where possible. `PIL` is practically unmaintained and introduces [many problems][pilproblems].
Signature and validation is the same as with `FileField`.
@@ -345,3 +345,4 @@ As an example, let's create a field that can be used represent the class name of
[ecma262]: http://ecma-international.org/ecma-262/5.1/#sec-15.9.1.15
[strftime]: http://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
[iso8601]: http://www.w3.org/TR/NOTE-datetime
+[pilproblems]: http://pillow.readthedocs.org/en/latest/about.html