def prepare(self): BaseHandler.prepare(self) self.error = { "passworddiff": "两次输入的密码不相同", "usernameused": "用户已经注册过啦", "shortpassword": "******", "invitecode": "邀请码错误或不存在", "invoteexpire": "邀请码过期啦", "closed": "网站已关闭注册", "captcha": "验证码错误", }
def prepare(self): BaseHandler.prepare(self)
def initialize(self): BaseHandler.initialize(self) self.topbar = ""
def initialize(self): BaseHandler.initialize(self) self.topbar = 'register'
def prepare(self): BaseHandler.prepare(self) self.error = { "usernameused": "用户已经注册过啦", }
def initialize(self): BaseHandler.initialize(self)