Exemple #1
0
 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())
Exemple #2
0
 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())
Exemple #3
0
 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()
Exemple #4
0
 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()
Exemple #5
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("view", ProfileView())
     self.putChild("edit", ProfileEdit())
     self.putChild("popup", ProfilePopup())
Exemple #6
0
 def __init__(self):
     YuzukiResource.__init__(self)
     for path in ROUTE:
         self.putChild(path, ROUTE[path])
Exemple #7
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("view", ReplyView())
     self.putChild("write", ReplyWrite())
     self.putChild("delete", ReplyDelete())
     self.putChild("edit", ReplyEdit())
Exemple #8
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("view", ReplyView())
     self.putChild("write", ReplyWrite())
     self.putChild("delete", ReplyDelete())
     self.putChild("edit", ReplyEdit())
Exemple #9
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("data", ChatMessageData())
     self.putChild("stream", ChatMessageStream())
Exemple #10
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("user", ChatUser())
     self.putChild("message", ChatMessage())
Exemple #11
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("view", ProfileView())
     self.putChild("edit", ProfileEdit())
     self.putChild("popup", ProfilePopup())
Exemple #12
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("edit", BoardEdit())
     self.putChild("add", BoardAdd())
Exemple #13
0
 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)
Exemple #14
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("approve", UserApprove())
     self.putChild("board", BoardManagement())
Exemple #15
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.request_pool = list()
     self.user_pool = dict()
Exemple #16
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("approve", UserApprove())
     self.putChild("board", BoardManagement())
Exemple #17
0
 def __init__(self, stream):
     YuzukiResource.__init__(self)
     self.stream = stream
Exemple #18
0
 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)
Exemple #19
0
 def __init__(self):
     YuzukiResource.__init__(self)
     stream = ChatUserStream()
     self.putChild("data", ChatUserData(stream))
     self.putChild("out", ChatUserOut(stream))
     self.putChild("stream", stream)
Exemple #20
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.putChild("edit", BoardEdit())
     self.putChild("add", BoardAdd())
Exemple #21
0
 def __init__(self):
     YuzukiResource.__init__(self)
     self.request_pool = list()
     self.cmd_manager = ChatCmdManager()
Exemple #22
0
 def __init__(self):
     YuzukiResource.__init__(self)
     for path in ROUTE:
         self.putChild(path, ROUTE[path])