web2py 1.74.1 is OUT

0 views
Skip to first unread message

mdipierro

unread,
Dec 14, 2009, 11:33:11 AM12/14/09
to web2py-users
New features:
- Moved to mercurial
- Default validators use the new define_table(....,format='...')
- New get_vars and post_vars compatible in 2.5 and 2.6 (thanks Tim)
- Major rewrite of gql.py extends DAL syntax on GAE, supports belongs
- No more *.w2p, welcome.w2p is create automatically, base apps are
always upgrade
- decimal validator allow negative numbers

1.74.* is the last version with the old DAL. The new DAL is in gluon/
dal.py. To try out the new experimenatal DAL do

cp gluon/dal.py gluon/sql.py

Please report any problem.

Massimo

Jonathan Lundell

unread,
Dec 14, 2009, 11:35:08 AM12/14/09
to web...@googlegroups.com
On Dec 14, 2009, at 8:33 AM, mdipierro wrote:

> - Moved to mercurial

http://www.web2py.com/examples/default/download still says SVN.

mdipierro

unread,
Dec 14, 2009, 11:46:09 AM12/14/09
to web2py-users
I fixed it on the web site

Thadeus Burgess

unread,
Dec 14, 2009, 1:45:37 PM12/14/09
to web...@googlegroups.com
Also you can specify custom options to the export_to_csv.

export_to_csv(delimiter = ',', quotechar = '"', quoting = csv.QUOTE_MINIMAL)
> --
>
> You received this message because you are subscribed to the Google Groups "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to web2py+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
>
>
>

Yannick

unread,
Dec 14, 2009, 10:17:15 PM12/14/09
to web2py-users
Thanks the double redirect seems to be fixed in this release...

On Dec 14, 1:45 pm, Thadeus Burgess <thade...@thadeusb.com> wrote:
> Also you can specify custom options to the export_to_csv.
>
> export_to_csv(delimiter = ',', quotechar = '"', quoting = csv.QUOTE_MINIMAL)
>
> On Mon, Dec 14, 2009 at 10:46 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > I fixed it on the web site
>
> > On Dec 14, 10:35 am, Jonathan Lundell <jlund...@pobox.com> wrote:
> >> On Dec 14, 2009, at 8:33 AM, mdipierro wrote:
>
> >> > - Moved to mercurial
>
> >>http://www.web2py.com/examples/default/downloadstillsays SVN.

Alex Fanjul

unread,
Dec 14, 2009, 10:46:41 PM12/14/09
to web...@googlegroups.com, mdipierro
Hello Massimo,
With the new characteristic of no need to upgrade, (if I didn't any
change to admin or welcome) is it safe to just (copy over) overwrite
entirely web2py folder and execute "python2.5 web2py.py" at least one time?

Thanks
Alex F

El 14/12/2009 17:33, mdipierro escribi�:
> --
>
> You received this message because you are subscribed to the Google Groups "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to web2py+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/web2py?hl=en.
>
>
>
>

--
Alejandro Fanjul Fdez.
alex....@gmail.com
www.mhproject.org

Massimo Di Pierro

unread,
Dec 14, 2009, 11:23:31 PM12/14/09
to Alex Fanjul, web...@googlegroups.com
It will only upgrade admin, welcome, examples and only overwrite those
apps. It will not touch the other apps.

Anyway. Make a backup first. ;-)

Massimo

On Dec 14, 2009, at 9:46 PM, Alex Fanjul wrote:

> Hello Massimo,
> With the new characteristic of no need to upgrade, (if I didn't any
> change to admin or welcome) is it safe to just (copy over) overwrite
> entirely web2py folder and execute "python2.5 web2py.py" at least
> one time?
>
> Thanks
> Alex F
>

mdipierro

unread,
Dec 14, 2009, 11:34:38 PM12/14/09
to web2py-users
I made more changes in new DAL. It is broken badly now because it is
in a the middle of a major change so that GAE and MongoDB can become
simple adapters.

Anyway, it passes some tests. You can try:

cd gluon
python dal.py

Preliminary tests of the functions that work show that selects are 10%
faster. This was a concern of mine, I thought it was going to be slow.
No more string comparisons and table lookups.

Take a look. Advice and comments are appreciated.

Massimo

On Dec 14, 10:23 pm, Massimo Di Pierro <MDiPie...@cs.depaul.edu>
wrote:
> >> For more options, visit this group athttp://groups.google.com/group/web2py?hl=en
> >> .
>
> > --
> > Alejandro Fanjul Fdez.
> > alex.fan...@gmail.com
> >www.mhproject.org
>
>

Alex Fanjul

unread,
Dec 15, 2009, 3:59:29 AM12/15/09
to web...@googlegroups.com, mdipierro
MongoDB!!!! nicee!!!
I'm willing to see it!
Alex F

El 15/12/2009 5:34, mdipierro escribi�:
>>> El 14/12/2009 17:33, mdipierro escribi�:
alex....@gmail.com
www.mhproject.org
Reply all
Reply to author
Forward
0 new messages