form = SQLFORM(db.test)

must be followed by

form.process()

or

form.accepts(request,session) # equivalent

else the form is not processed

On Dec 21, 2:36 pm, Murray3 <[email protected]> wrote:
> As per latest 
> documentation:http://web2py.com/books/default/chapter/29/13#Deployment-recipes
> In model i have:
> db.define_table('test',
>     Field('test', 'string'),
>     Field('image', 'upload'))
> In controller I have:
> def test():
>     form = SQLFORM(db.test)
>     return dict(form=form)
> In view I have:
> {{extend 'layout.html'}}
> <div>{{=form}}</div>
> does not insert record in to local GAE datastore, is this missing
> someething? or what is missing from docs?
> any feedback appreciated.
>
> ps this is a new post as the previous thread seems to have gone awol!

Reply via email to