#10732: PIL Image module Import Issue
----------------------------+-----------------------------------------------
 Reporter:  haloween        |       Owner:  nobody    
   Status:  new             |   Milestone:            
Component:  Core framework  |     Version:  1.0       
 Keywords:  PIL,Image       |       Stage:  Unreviewed
Has_patch:  0               |  
----------------------------+-----------------------------------------------
 I'm running django on Python 2.6.1.

 There are 3 places where the Image from PIL is being imported.
 But in my install i don't have PIL in my namespace.

 A simple solution would fix that .

 Replacing :
  {{{
  from PIL import Image
  }}}

 to
 {{{
  try: import Image
  except ImportError:
  from PIL import Image
  }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10732>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to