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
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():
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
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
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:
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
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
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
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
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
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
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 =
12 matches
Mail list logo