1.auth.User.groups: (fields.E304) Reverse accessor for 'auth.User.groups' clashes with reverse accessor for 'users.UserProfile.groups'. HINT: Add or change a related_name argument to the definition for 'auth.User.groups' or 'users.UserProfile.groups
创建表,运行下面命令,出错
makemigrations
在settings.py文件添加
AUTH_USER_MODEL = "app名称.类名"