
11 Jun
2009
11 Jun
'09
10:13 a.m.
web2py 1.64.0 is out
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}}