Update api

This commit is contained in:
ibuler
2016-12-29 00:29:59 +08:00
parent d80fec6e60
commit 92d854b971
7 changed files with 51 additions and 25 deletions

View File

@@ -45,8 +45,6 @@ class User(AbstractUser):
verbose_name=_('Date expired'))
created_by = models.CharField(max_length=30, default='', verbose_name=_('Created by'))
@property
def password_raw(self):
raise AttributeError('Password raw is not a readable attribute')