Got it. I will look into creating such option. The issue is to make it
general enough
On Jun 24, 12:06 pm, NickFranceschina
wrote:
> yes that's what I'm saying... there must be some code in Web2py where
> if the field is 'upload' and you're running on GAE, then it triggers
> creation of the blob
yes that's what I'm saying... there must be some code in Web2py where
if the field is 'upload' and you're running on GAE, then it triggers
creation of the blob field... but probably shouldn't create the blob
in the same table, since on GAE there is no way to NOT load the blob
(it always loads the e
> but as for automating the schema maintenance... if I create
> auth_user.Field('photo','upload')
> instead of creating a 'photo' (string) and 'photo_blob' (blob) on the
> same table, it should maybe create just 'photo' (string) and another
> table called 'auth_user_photo' with one field and a r
on a related note... web apps rarely need to load the blob data at the
same time as the record... the record should get loaded and then
that will create a link/img on a page which will make a separate
request for the blob. and if I've read correctly... GAE always pulls
the entire object when you
OK... I had uploaded a 900+kb photo by mistake (thought I had uploaded
100k photo)
also just realized that the schema for an "upload" Field on GAE
includes an extra 'blob' type on the record (obviously, since we can't
store files)... and my code was trying to convert records to JSON and
blowing up
You have something too large in the session and the datastore refuses
to store the session in the database.
On Jun 21, 11:32 pm, NickFranceschina
wrote:
> I'm not sure what I'm doing wrong... I've built a JSON service on
> top of Web2py that uses Auth.login_bare() to authenticate via
> AJAX...
6 matches
Mail list logo