I didn't know i could use imports in GAE Thank you Massimo.
On Mon, Dec 6, 2010 at 11:53 PM, mdipierro <[email protected]> wrote: > import random > ... > rows=db(...).select().sort(lambda row: random.random()) > > On Dec 6, 4:09 pm, Albert Abril <[email protected]> wrote: > > Hi! > > > > As said on the book, in a DAL select, orderby='<random>' is not supported > on > > GAE. > http://web2py.com/book/default/chapter/06#orderby,-groupby,-limitby,-... > > > > Someone knows the best way to randomize a Rows dictionary? > > (thinking in GAE deployment of course) > > > > Thanks in advance. >

