diff options
| author | Tom Christie | 2014-09-26 17:06:20 +0100 | 
|---|---|---|
| committer | Tom Christie | 2014-09-26 17:06:20 +0100 | 
| commit | dee3f78cb688b1bee892ef78d6eec23ccf67a80e (patch) | |
| tree | bfae7d0bfaf16c622e6c7c0deac2395c0379dbe8 /rest_framework/compat.py | |
| parent | ac71d9aaae27f620fdb0167a4ad586e754a844a3 (diff) | |
| download | django-rest-framework-dee3f78cb688b1bee892ef78d6eec23ccf67a80e.tar.bz2 | |
FileField and ImageField
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/rest_framework/compat.py b/rest_framework/compat.py index 7303c32a..89af9b48 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -84,15 +84,6 @@ except ImportError:      from collections import UserDict      from collections import MutableMapping as DictMixin -# Try to import PIL in either of the two ways it can end up installed. -try: -    from PIL import Image -except ImportError: -    try: -        import Image -    except ImportError: -        Image = None -  def get_model_name(model_cls):      try: | 
