Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcnemesis/86f8be8d8cbf31bf7d16 to your computer and use it in GitHub Desktop.
Save mcnemesis/86f8be8d8cbf31bf7d16 to your computer and use it in GitHub Desktop.
The troublesome import in django-stdimage/stdimage/fields.py
try:
import Image, ImageOps
except ImportError:
from PIL import Image, ImageOps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment