Open JoshYuJump opened 3 years ago
Added a EnhancedAbstractUser
class EnhancedAbstractUser(AbstractUser):
mobile = models.CharField(_('mobile'), max_length=16, default='', db_index=True, blank=True)
nickname = models.CharField(_('nickname'), max_length=128, default='')
avatar = models.CharField(_('avatar'), max_length=256, default='')
Fields in user model
Each app has a user module. In general, the following fields are included in
user
model:It's not enough to work on more scenes. It not contains:
Sign in
Auth
APIs