Thanks man! Works perfect! Maybe I want this blog for my public site. But I also want to make an admin panel. How need I to make that? I know how to work with sessions. But can it also be safe?
On Apr 25, 12:27 pm, Mladen Milankovic <mml...@gmail.com> wrote: > Hi. > > I'm assuming you have some query from where you take the posts. > In the select part there's a parameter orderby. To give it to sort it in > reverse order just write the sign ~ in front of the orderby parameter. > example > db(some_query).select(db.table.ALL, orderby = ~db.table.field) > > regards > mmlado > > On Saturday 25 April 2009 12:16:39 Pynthon wrote: > > > Hello > > > I searched in the book but I can't find it. Im creating a blog with > > the small knowledge I have about W2P. Just for fun and to learn. I > > want to order it like this: > > > 3 > > 2 > > 1 > > > and not > > > 1 > > 2 > > 3 > > > The latest posts ion the head :P. How can I do this? > > > Thanks, > > Pynthon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---