> Are there meant to be limitations around compute on GAE?
>
I don't think so, this could be a bug. Please file an issue and we'll try
to reproduce and fix it.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://
Hi Christian,
Thanks for your help.
Unfortunately no ticket is created I just get a new page with the 404 error
message on it.
url when uploading the file: http://gic-test.appspot.com/admin/file/new/file
url after uploading the
file: http://gic-test.appspot.com/admin/file/new/file#
I've locat
Can you share the log/stack trace from when that happens? does the form
post to the same function that generated it?
i have not tried upload in grid()wonder if there is something there
that doesn't quite work on app engine?
On Tuesday, December 3, 2013 10:49:47 AM UTC-8, James Burke wrote:
On Thursday, October 20, 2011 3:57:24 PM UTC-4, apple wrote:
>
> I am now experimenting with uploading files to the database but have
> not been successful and have some questions:
>
> 1) Field('file','upload', uploadfield='fileblob'),
>
> I understand this is supposed to create the fileblob fie
Thank You Massimo
now I got it to work,
If I understand the question... you can have two or more forms
form1=crud.create(db.table)
form2=crud.create(db.table_file)
return dict(form1=form1,form2=form2)
as long as the forms are about different tables. Else you have to use
SQLFORM and in accept give the forms different formname(s).
On J
> in controller
> form=crud.create(db.page)
> return dict(form=form)
Is this possible with two tables? I have two tables, page and
page_files, the page is stored in page and all files in page_files as
one page can have many files.
> - you use form.vars.id. That is only created by
Why not use the web2py way...
in controller
form=crud.create(db.page)
return dict(form=form)
and in view
{{=form}}
You code does not work because:
- request.vars.file contains a cgi.FieldStorage object and you cannot
put that id the database
- the the actual file has to
8 matches
Mail list logo