django Error: HINT: Add or change a related_name argument to the definition for 'UserProfile.groups' or 'User.groups'.

2023-05-16,,

# 解决方案:

因自己重新封装user为UserProfile故在 settings中 添加自己的

django Error: HINT: Add or change a related_name argument to the definition for 'UserProfile.groups' or 'User.groups'.的相关教程结束。

《django Error: HINT: Add or change a related_name argument to the definition for 'UserProfile.groups' or 'User.groups'..doc》

下载本文的Word格式文档,以方便收藏与打印。