创建表,运行下面命令,出错
makemigrations
原因:继承auth_user
解决方案
在settings.py文件添加
AUTH_USER_MODEL = "app名称.类名"
相关文章: