n00b problem- I am trying to have a list show the most recent entry first. This works without the reverse(), but retrieves nothing with it in. I have heard I should try and use order_by(), but I can't seem to get that to work either. Thanks for the help!
class MainHandler(webapp.RequestHandler):
def get(self):
que = db.Query(models.URL)
url_list = que.fetch(limit=100)
new_list = url_list.reverse()
path = self.request.path
if doRender(self,path):
return
doRender(self,'base/index.html', { 'new_list' : new_list })