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

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

src/p/y/pyjs-HEAD/examples/misc/gaedjangononrelpuremvcblog/media/view.py   pyjs(Download)
    def listNotificationInterests(self):
        return [Blog.AppFacade.POSTS_RETRIEVED,
                Blog.AppFacade.POST_ADDED,
                Blog.AppFacade.POST_EDITED,
                Blog.AppFacade.POST_DELETED,
    def handleNotification(self, note):
        note_name = note.getName()
        if note_name == Blog.AppFacade.POSTS_RETRIEVED:
            self.update_posts()
        if note_name == Blog.AppFacade.POST_ADDED: