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

Merged
merged 1 commit into from Jul 12, 2013

Projects

None yet

2 participants

@chrismedrela

The statement in the comment was acknowledged by daniellindsley (https://code.djangoproject.com/ticket/19934#comment:25).

@timgraham timgraham commented on an outdated diff Jul 12, 2013
django/utils/image.py
@@ -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).
@timgraham
timgraham Jul 12, 2013 Member

no space between "e. g."

@chrismedrela

Updated -- deleted space between "e. g.".

@timgraham timgraham merged commit b82a2c4 into django:master Jul 12, 2013
@timgraham timgraham added a commit that referenced this pull request May 5, 2014
@timgraham timgraham [1.6.x] Fixed #1349 -- Clarified docs on serving files from STATIC/ME…
…DIA_URL.

Backport of fb7c347 from master
5783088
@timgraham timgraham added a commit that referenced this pull request May 5, 2014
@timgraham timgraham [1.7.x] Fixed #1349 -- Clarified docs on serving files from STATIC/ME…
…DIA_URL.

Backport of fb7c347 from master
2a2d7db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment