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

# 解决方案:

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

 

posted @ 2018-10-08 09:02  梁颖666  阅读(2254)  评论(0编辑  收藏  举报