[google-appengine] importing model definition (n00b question)

2009-01-29 Thread tom s
Hi, I'm a n00b to python and GAE, so apologies in advance for the naivety of this question.. My app has multiple .py files, which share db models. So to avoid repetition, I want a single file that has the db model definitions, such as 'datamodel.py'. I can then import that into my main.py with 'i

[google-appengine] self.request.get(???) - for data POSTed as actionscript bytearray

2009-01-31 Thread tom s
Hi, I'm trying to send a bytearray from a Flash app to GAE, and store it as a db.BlobProperty. I think I have the actionscript correct (see below), but I don't know how to get a reference the object in GAE. So when I write: self.request.get(???) I don't know what to put in '???'. When I have be

[google-appengine] Re: self.request.get(???) - for data POSTed as actionscript bytearray

2009-02-01 Thread tom s
the same data. uploaded_file = self.request.body http://code.google.com/appengine/docs/python/tools/webapp/requestdata.html tom On Feb 1, 12:22 pm, tom s wrote: > Hi, > > I'm trying to send a bytearray from a Flash app to GAE, and store it > as a db.BlobProperty. >

[google-appengine] Flash, AWS S3, GAE - good solution? (secret Key stored in GAE)

2009-03-25 Thread tom s
I have a Flash/Flex app that lets users upload a file to AWS S3. I have it working, but I want to run it by a few folks to see if there is a better way, and checker whether there might be any security issues. 1. User selects file 2. flash connects to GAE, gets new ID (sequential) 3. flash uses ID