Mombu the Programming Forum

Go Back   Mombu the Programming Forum > Programming > web2py 1.64.0
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 6th October 07:33
massimo di pierro
External User
 
Posts: 1
Default web2py 1.64.0



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}}
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666