示例#1
0
文件: models.py 项目: yfcheung/myrg
 def set_unusable_password(self):
     # Sets a value that will never be a valid hash
     self.password = make_password(None)
示例#2
0
文件: models.py 项目: yfcheung/myrg
 def set_unusable_password(self):
     # Sets a value that will never be a valid hash
     self.password = make_password(None)
示例#3
0
文件: models.py 项目: yfcheung/myrg
 def set_password(self, raw_password):
     self.password = make_password(raw_password)
示例#4
0
文件: models.py 项目: yfcheung/myrg
 def set_password(self, raw_password):
     self.password = make_password(raw_password)