[web2py] Re: Google app engine and DAL

2011-07-10 Thread Shark
Thanks howesc for your help On Jul 10, 6:36 pm, howesc wrote: > Shark, > > the upload field will work (though you might have to pass the flag to tell > it to store the file in the DB).  it's been a while since i have used that > on GAE. > > if your uploaded file will be larger than 1MB (the curre

[web2py] Re: Google app engine and DAL

2011-07-10 Thread howesc
Shark, the upload field will work (though you might have to pass the flag to tell it to store the file in the DB). it's been a while since i have used that on GAE. if your uploaded file will be larger than 1MB (the current limit for blob fields assuming the online docs here are correct http:

[web2py] Re: Google app engine and DAL

2011-07-10 Thread Shark
Thanks massimo for reply but my question will upload field work in GAE and will save the data in datastore or I have to define field as anther type ? example b.define_table('person', Field('image', 'upload')) As it by default save data in upload folder thanks in advance On Jul 10, 5:18 pm, Mas

[web2py] Re: Google app engine and DAL

2011-07-10 Thread Massimo Di Pierro
In web2py a Field(...,'upload') makes both a StringProperty and a BlobProperty. The filename goes in one and the data in the other. I think BlobProperty has a 10MB limitation but I am not sure. These numbers change as GAE evolves. Massimo On Jul 10, 8:22 am, Shark wrote: > We want to save a blob

[web2py] Re: Google app engine and DAL

2011-07-10 Thread Shark
We want to save a blob to datastore in GAE not only save the name is this the same as upload field On Jul 9, 9:51 pm, Shark wrote: > Ok thank very much Anthony > > On Jul 9, 4:32 pm, Anthony wrote:> On Saturday, July 9, > 2011 8:07:48 AM UTC-4, Shark wrote: > > > > I need help in updating list

[web2py] Re: Google app engine and DAL

2011-07-09 Thread Shark
Ok thank very much Anthony On Jul 9, 4:32 pm, Anthony wrote: > On Saturday, July 9, 2011 8:07:48 AM UTC-4, Shark wrote: > > > I need help in updating list field can anyone give example of how to > > update list field ? > > > also I have problem in uploading files in GAE as web2py store them in >

[web2py] Re: Google app engine and DAL

2011-07-09 Thread Anthony
On Saturday, July 9, 2011 8:07:48 AM UTC-4, Shark wrote: > > I need help in updating list field can anyone give example of how to > update list field ? > > also I have problem in uploading files in GAE as web2py store them in > files and google app engine need to store them in big table web2