摘要: 1 导入AbstractUser from django.contrib.auth.models import AbstractUser 1 2 创建类UserProfile并继承AbstractUser class UserProfile(AbstractUser): 1 3 创建自己需要的Use 阅读全文
posted @ 2019-07-28 15:33 luowen罗文 阅读(438) 评论(0) 推荐(0) 编辑