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

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

src/b/n/bnw-HEAD/bnw/web/site.py   bnw(Download)
from bnw.core.bnw_mongo import get_db
from bnw.core.bnw_gridfs import get_fs
from bnw.handlers.command_show import cmd_feed, cmd_today
from bnw.handlers.command_clubs import cmd_clubs, cmd_tags
from bnw.handlers.command_userinfo import cmd_userinfo
    def respond(self):
        page = get_page(self)
        req = BnwWebRequest((yield self.get_auth_user()))
        result = yield cmd_feed(req, page=page)
        self.set_header("Cache-Control", "max-age=1")