(venv) D:\zz\PycharmProjects\output>python manage.py makemigrations
SystemCheckError: System check identified some issues:
ERRORS:
auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'UserProfileInfo.groups'.
HINT: Add or change a related_name argument to the definition for 'User.groups' or 'UserProfileInfo.groups'.
auth.User.user_permissions: (fields.E304) Reverse accessor for 'User.user_permissions' clashes with reverse accessor for 'UserProfileInfo.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'User.user_permissions' or 'UserProfileInfo.user_permissions'.
gongxin_collect.UserProfileInfo.groups: (fields.E304) Reverse accessor for 'UserProfileInfo.groups' clashes with reverse accessor for 'User.groups'.
HINT: Add or change a related_name argument to the definition for 'UserProfileInfo.groups' or 'User.groups'.
gongxin_collect.UserProfileInfo.user_permissions: (fields.E304) Reverse accessor for 'UserProfileInfo.user_permissions' clashes with reverse accessor for 'User.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'UserProfileInfo.user_permissions' or 'User.user_permissions'.
需要在setting中重载AUTH_USER_MODEL
AUTH_USER_MODEL = 'users.UserProfile'