Ticket #1187: PIL-missing-error.diff
File PIL-missing-error.diff, 946 bytes (added by , 19 years ago) |
---|
-
django_src/django/core/management.py
654 654 try: 655 655 from PIL import Image 656 656 except ImportError: 657 e.add(opts, '"%s" field: To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/ .' )657 e.add(opts, '"%s" field: To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/ .' % f.name) 658 658 if f.prepopulate_from is not None and type(f.prepopulate_from) not in (list, tuple): 659 659 e.add(opts, '"%s" field: prepopulate_from should be a list or tuple.' % f.name) 660 660 if f.choices: