管理后台增加应用原包下载功能

publicsignpoll
youngS 3 years ago
parent 439db9788a
commit 6861c65b83
  1. 2
      fir_ser/api/models.py

@ -51,7 +51,7 @@ class UserInfo(AbstractUser):
verbose_name_plural = "账户信息" verbose_name_plural = "账户信息"
def __str__(self): def __str__(self):
return "%s(%s)" % (self.username, self.get_role_display()) return "%s_%s_%s(%s)" % (self.uid, self.email, self.mobile, self.get_role_display())
def save(self, *args, **kwargs): def save(self, *args, **kwargs):
if len(self.uid) < 8: if len(self.uid) < 8:

Loading…
Cancel
Save