diff options
| author | Xavier Ordoquy | 2013-01-03 10:48:43 +0100 | 
|---|---|---|
| committer | Xavier Ordoquy | 2013-01-03 10:48:43 +0100 | 
| commit | cf51dcc9bb409fb985d5aa09c426d1ed33f6e9b4 (patch) | |
| tree | cd0815b247c4e7e5c45bb10e952aa0a6bea6b2f5 /rest_framework/compat.py | |
| parent | 22b1411f413fdfee6e654d1578db69df3c300602 (diff) | |
| download | django-rest-framework-cf51dcc9bb409fb985d5aa09c426d1ed33f6e9b4.tar.bz2 | |
Straight import is enough.
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rest_framework/compat.py b/rest_framework/compat.py index 42ad9e93..9b38c208 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -34,7 +34,7 @@ from six import BytesIO  try:      from urllib import parse as urlparse  except ImportError: -    import urlparse as urlparse +    import urlparse  # Try to import PIL in either of the two ways it can end up installed. | 
