web2py 1.64.0

Massimo Di Pierro MDiPierro at cs.depaul.edu
Thu Jun 11 19:13:42 CEST 2009


web2py 1.64.0 is out

     http://www.web2py.com

new features:

- full Jython support, including xzJDBC for sqlite and postgresql.

    install jython and run: jython web2py.py -h

- models are 2.5x faster

- better LDAP support

- custom forms

Example:

     #in model
     db.define_table('person',SQLField('name')

     # in controller
     def index(): return dict(form=crud.create(db.person))

     # instead of usual view
     {{=form}}

     # now you can use a custom view:
     {{=form.custom.begin}}
     {{=form.cusom.label.name}}: {{=form.custom.widget.name}}
     {{=form.custom.submit}}
     {{=form.custom.end}}




More information about the Python-announce-list mailing list