Always working to web2py, even on holidays, eh? :-) Happy new year to all!
Paolo On 1 Gen, 12:00, mdipierro <mdipie...@cs.depaul.edu> wrote: > reposted. to fix a change that could have broken backward > compatibility. > > Massimo > > On Dec 31 2008, 9:53 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Please check out > > >http://mdp.cti.depaul.edu/examples/static/1.55rc2/web2py_src.ziphttp:... > > > New features: > > > 0) support for many2many (sort of) via IS_IN_DB(...,multiple=True). > > Read more below: > > >http://groups.google.com/group/web2py/browse_thread/thread/a234895207... > > > 1) complete database backup/restore with db.export_to_csv_file(..), > > db.import_from_csv_file(...), reimporting optionally fixes references > > without need for uuid. read more below: > > >http://groups.google.com/group/web2py/browse_thread/thread/55d923a51e...... > > > 2) db(...).delete, db(...).update return number of affected rows. > > 3) better unittests > > 4) you can nest cache calls (like cache a controller that caches a > > select). Thanks Iceberg > > 5) db(....id==None).select() no longer returns an error but an empty > > SQLRows on GAE > > 6) db(...).delete(delete_uploads=True) and SQLFORM.accepts > > (....delete_uploads=True) will delete all referenced uploaded files. > > SHOULD THIS BE THE DEFAULT? > > 7) now you can do form.element(_name='fieldname').update > > (_class='myclass') > > 8) db(....).select(...).json() will serialize in json in a database > > independent way. Thanks Tim. > > 9) URL(r=request,args=0) instead of URL(r=request,args=[0]) > > 10) In URL(...,f) f is url encoded. Thanks Sandro > > 11) In routes_in=[['a/b/c/','a/b/c/?var=value']] > > 12) db(...).select(...,limitby(min,max)) works on mssql (but still > > inefficient) > > 13) ... always backward compatible (I think, please check) > > > Thanks to all of those who have contributed and HAPPY NEW YEAR!!!! > > > Massimo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---