def __init__(self): YuzukiResource.__init__(self) self.putChild("view", ArticleView()) self.putChild("write", ArticleWrite()) self.putChild("delete", ArticleDelete()) self.putChild("edit", ArticleEdit()) self.putChild("subscribe", ArticleSubscribe())
def __init__(self): YuzukiResource.__init__(self) dbsession = DatabaseHelper.session() query = dbsession.query(Group).filter(Group.important) result = query.all() self.bunryu_groups = [(group.uid, group.name) for group in result] dbsession.close()
def __init__(self): YuzukiResource.__init__(self) self.putChild("view", ProfileView()) self.putChild("edit", ProfileEdit()) self.putChild("popup", ProfilePopup())
def __init__(self): YuzukiResource.__init__(self) for path in ROUTE: self.putChild(path, ROUTE[path])
def __init__(self): YuzukiResource.__init__(self) self.putChild("view", ReplyView()) self.putChild("write", ReplyWrite()) self.putChild("delete", ReplyDelete()) self.putChild("edit", ReplyEdit())
def __init__(self): YuzukiResource.__init__(self) self.putChild("data", ChatMessageData()) self.putChild("stream", ChatMessageStream())
def __init__(self): YuzukiResource.__init__(self) self.putChild("user", ChatUser()) self.putChild("message", ChatMessage())
def __init__(self): YuzukiResource.__init__(self) self.putChild("edit", BoardEdit()) self.putChild("add", BoardAdd())
def render_GET(self, request): YuzukiResource.__init__(self) users = get_not_anybody_user(request) context = {"users": users} return render_template("admin_approve.html", request, context)
def __init__(self): YuzukiResource.__init__(self) self.putChild("approve", UserApprove()) self.putChild("board", BoardManagement())
def __init__(self): YuzukiResource.__init__(self) self.request_pool = list() self.user_pool = dict()
def __init__(self, stream): YuzukiResource.__init__(self) self.stream = stream
def __init__(self): YuzukiResource.__init__(self) stream = ChatUserStream() self.putChild("data", ChatUserData(stream)) self.putChild("out", ChatUserOut(stream)) self.putChild("stream", stream)
def __init__(self): YuzukiResource.__init__(self) self.request_pool = list() self.cmd_manager = ChatCmdManager()