Changeset 8257
- Timestamp:
- 08/09/08 09:18:09 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/tests/modeltests/model_forms/models.py
r8244 r8257 76 76 # for PyPy, you need to check for the underlying modules 77 77 # If PIL is not available, this test is equivalent to TextFile above. 78 import Image, _imaging78 from PIL import Image, _imaging 79 79 image = models.ImageField(storage=temp_storage, upload_to='tests') 80 80 except ImportError: django/trunk/tests/regressiontests/file_storage/models.py
r8244 r8257 13 13 # Checking for the existence of Image is enough for CPython, but 14 14 # for PyPy, you need to check for the underlying modules 15 import Image, _imaging15 from PIL import Image, _imaging 16 16 except ImportError: 17 17 Image = None
