#6054: PIL import error ---------------------------------------------+------------------------------ Reporter: nesh | Owner: nobody Status: reopened | Milestone: Component: Validators | Version: SVN Resolution: | Keywords: Stage: Design decision needed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 1 Needs_better_patch: 0 | ---------------------------------------------+------------------------------ Changes (by haloween):
* status: closed => reopened * resolution: invalid => * needs_tests: 0 => 1 * stage: Unreviewed => Design decision needed Comment: >> This isn't a Django problem. In my opinion, this is a django issue. If there are two options of accessing a module both of them should be supported. [[BR]] On a shared host if the "non PIL" option is only one avaliable you can't do anything. The fix requires ONLY 3 places updated. core\files\image.py , core\management\validation.py , forms\fields.py {{{ try: import Image except ImportError: from PIL import Image }}} -- Ticket URL: <http://code.djangoproject.com/ticket/6054#comment:3> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---