Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/n/bnw-HEAD/bnw/handlers/command_show.py   bnw(Download)
def cmd_feed(request, page="0"):
    """ Показать ленту """
    page = int(page) if page else 0
    feed = yield objs.FeedElement.find_sort({'user': request.user['name']},
                                            [('_id', pymongo.DESCENDING)], limit=20, skip=page * 20)