我是python中的大三学生,我想使用django创建一个web服务,我写了我的model.py,似乎我的课程中有问题,但我无法修复它。 我不知道错误是在“相关名称”中还是在模型中
错误消息=在运行命令'makemigrations'后:
var outer = document.getElementById('outer');
Array.prototype.forEach.call(outer, function (item) {
// do your suff..
});
我的model.py是:
ERRORS:
PSTL.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'User.groups'.
HINT: Add or change a related_name argument to the definition for 'User.groups' or 'User.groups'.
PSTL.User.user_permissions: (fields.E304) Reverse accessor for 'User.user_permissions' clashes with reverse accessor for 'User.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'User.user_permissions' or 'User.user_permissions'.
auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'User.groups'.
HINT: Add or change a related_name argument to the definition for 'User.groups' or 'User.groups'.
auth.User.user_permissions: (fields.E304) Reverse accessor for 'User.user_permissions' clashes with reverse accessor for 'User.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'User.user_permissions' or 'User.user_permissions'.