Re: No module named PIL - Django - Gae

2009-02-06 Thread Edgard Matos
Karen! Very thank you! My problem it's resolved!!! Here also have a solution: http://groups.google.com/group/google-appengine/browse_thread/thread/3aedf3cbcce1fd88 On Fri, Feb 6, 2009 at 3:24 PM, Karen Tracey wrote: > On Fri, Feb 6, 2009 at 12:13 PM, Edgard Matos

Re: No module named PIL - Django - Gae

2009-02-06 Thread Karen Tracey
On Fri, Feb 6, 2009 at 12:13 PM, Edgard Matos wrote: > My code: > > In model: > class User(db.Model): > user = db.UserProperty() > avatar = db.BlobProperty() > def __unicode__(self): > return self.email > > class UserForm(djangoforms.ModelForm): > class Meta():

Re: No module named PIL - Django - Gae

2009-02-06 Thread Edgard Matos
My code: In model: class User(db.Model): user = db.UserProperty() avatar = db.BlobProperty() def __unicode__(self): return self.email class UserForm(djangoforms.ModelForm): class Meta(): model = User In view: data = UserForm(request.POST, request.FILES) if

Re: No module named PIL - Django - Gae

2009-02-06 Thread Alex Gaynor
On Fri, Feb 6, 2009 at 12:09 PM, Karen Tracey wrote: > On Fri, Feb 6, 2009 at 12:05 PM, Alex Gaynor wrote: > >> I'm fairly certain PIL doesn't work on Google App Engine so I think google >> has their own image module, you should consult the GAE

Re: No module named PIL - Django - Gae

2009-02-06 Thread Karen Tracey
On Fri, Feb 6, 2009 at 12:05 PM, Alex Gaynor wrote: > I'm fairly certain PIL doesn't work on Google App Engine so I think google > has their own image module, you should consult the GAE documentation. > Their own images API apparently uses PIL:

Re: No module named PIL - Django - Gae

2009-02-06 Thread Alex Gaynor
On Fri, Feb 6, 2009 at 12:01 PM, Karen Tracey wrote: > On Fri, Feb 6, 2009 at 11:51 AM, Edgard Matos wrote: > >> Somebody can help me? >> > > Not likely, without some more information. As Ned said in the first reply > to your original query, you have

Re: No module named PIL - Django - Gae

2009-02-06 Thread Karen Tracey
On Fri, Feb 6, 2009 at 11:51 AM, Edgard Matos wrote: > Somebody can help me? > Not likely, without some more information. As Ned said in the first reply to your original query, you have not shown us enough of your code. You have not shown us any form definition that

Re: No module named PIL - Django - Gae

2009-02-06 Thread Edgard Matos
Somebody can help me? On Fri, Feb 6, 2009 at 11:58 AM, Edgard Matos wrote: > I only installed PIL in my system. > > I din't installer PIL on my project. > Do I have to do this? How I do? > > Thanks! > > > On Fri, Feb 6, 2009 at 11:44 AM, Edgard Matos

Re: No module named PIL - Django - Gae

2009-02-06 Thread Edgard Matos
I only installed PIL in my system. I din't installer PIL on my project. Do I have to do this? How I do? Thanks! On Fri, Feb 6, 2009 at 11:44 AM, Edgard Matos wrote: > Swaroop, > > On local system. > > > On Fri, Feb 6, 2009 at 11:42 AM, Swaroop C H

Re: No module named PIL - Django - Gae

2009-02-06 Thread Edgard Matos
Swaroop, On local system. On Fri, Feb 6, 2009 at 11:42 AM, Swaroop C H wrote: > > Hi Edgard, > > Are you running this on your local system or on GAE? > > Regards, > Swaroop > > Books and Blog - http://www.swaroopch.com > Microblog - http://twitter.com/swaroopch > > > > On

Re: No module named PIL - Django - Gae

2009-02-06 Thread Swaroop C H
Hi Edgard, Are you running this on your local system or on GAE? Regards, Swaroop Books and Blog - http://www.swaroopch.com Microblog - http://twitter.com/swaroopch On Fri, Feb 6, 2009 at 7:34 PM, Edgard Matos wrote: > Hi! > > I'm trying to do a form to upload a image

Re: No module named PIL - Django - Gae

2009-02-06 Thread Ned Batchelder
You aren't showing enough of your code, but there's no module named PIL. When you install PIL, you get a module named Image. --Ned. Edgard Matos wrote: > Hi! > > I'm trying to do a form to upload a image using Google App Engine + > Django. > In my view, I have: > data =