If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    sophie  15 years ago
    I made this, and it work! but i still don't know the difference def insert(): (db, table) = get_table(request) tabla = str(db[table]) exec ("form = SQLFORM(db.%s, ignore_rw=ignore_rw)" %tabla) if form.accepts(request.vars, session): response.flash = T('new record inserted') return dict(form=form)

Commented on:

This is a (overly)simple autocomplete widget using the pengoworks jQuery plugin. I used it because it works and I am too lazy to download the files and can include them using response.files

Hosting graciously provided by:
Python Anywhere