sorry guys i hit enter to soon, disregard this question

On Sat, Nov 19, 2011 at 6:33 PM, chawk <chrshawke...@gmail.com> wrote:

> db.define_table('discussion',
>                Field('comment', 'text'))
>
> def comment():
>    form = SQLFORM(db.discussion, _class='test1')
>    if form.process().accepted:
>        redirect(URL('comment_results'))
>    return dict(form=form)
>
> def comment_results():
>    items = db(db.discussion.id==db.discussion.id).select()
>
>    return dict(items=items, erase=erase)
>
>
>

Reply via email to