摘要: from django.contrib.auth.models import AbstractUser 在Settings 中 加入 AUTH_USER_MODEL = 'myapp.UserInfo' 即'app.类名' 在 manage.py task 中 makemigrations 之后 m 阅读全文
posted @ 2019-07-04 22:42 Mr_Smith 阅读(609) 评论(0) 推荐(0)