Example #1
0
        "auth":auth,
        "board":board,
        "post":post,
        "action":action,
        "readmark":readmark,
        "perm":perm,
        "usersign":usersign,
        "favourite":favourite,
        "mail":mail,
        "clipboard":clipboard,
        "disgest":disgest,
        "freq":freq,
        "userperm":userperm,
        "team":team,
        "admin":admin,
        "query":query,
        "deny":deny,
        "notify":notify,
        "notice":notice,
        }

    @classmethod
    def load(cls):
        for model in cls.loads :
            model.bind(db = cls.db, ch = cls.ch)

CF.load()
manager = Manager()
Manager.configure(CF)
manager.telnet = {}  # cache use for telnet
Example #2
0
        "board": board,
        "post": post,
        "action": action,
        "readmark": readmark,
        "perm": perm,
        "usersign": usersign,
        "favourite": favourite,
        "mail": mail,
        "clipboard": clipboard,
        "disgest": disgest,
        "freq": freq,
        "userperm": userperm,
        "team": team,
        "admin": admin,
        "query": query,
        "deny": deny,
        "notify": notify,
        "notice": notice,
    }

    @classmethod
    def load(cls):
        for model in cls.loads:
            model.bind(db=cls.db, ch=cls.ch)


CF.load()
manager = Manager()
Manager.configure(CF)
manager.telnet = {}  # cache use for telnet