models.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:bookflip 作者: tomkoker 项目源码 文件源码
def __init__(self, username, email, password):
        self.username = username
        self.email = email

        self.password = bcrypt.hashpw(password.encode('utf-8'),
                                      bcrypt.gensalt()).decode('utf-8')
        # decoding to re-encode later to prevent bytestring confusion
        # in python3

        self.active = False
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号