and you can put your own modules in web2py/site-packages and they will
be deployed with your app.

On Dec 6, 5:16 pm, Albert Abril <albert.ab...@gmail.com> wrote:
> I didn't know i could use imports in GAE
> Thank you Massimo.
>
> On Mon, Dec 6, 2010 at 11:53 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > import random
> > ...
> > rows=db(...).select().sort(lambda row: random.random())
>
> > On Dec 6, 4:09 pm, Albert Abril <albert.ab...@gmail.com> 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.
>
>

Reply via email to