0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Added clarification comments to django.utils.image; refs #19934

This commit is contained in:
Christopher Medrela 2013-07-12 10:43:50 +02:00
parent 59ebe39812
commit b4c61c2665

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
"""
To provide a shim layer over Pillow/PIL situation until the PIL support is
removed.
removed. See #19934.
Combinations To Account For
@ -132,6 +132,8 @@ def _detect_image_library():
try:
from PIL import ImageFile as PILImageFile
except ImportError:
# This import cannot fail unless Pillow/PIL install is completely
# broken (e.g. missing Python modules).
import ImageFile as PILImageFile
# Finally, warn about deprecation...