models.E006
来源:1-1 强力django+杀手级xadmin 打造上线标准的在线教育平台
CHASSEUR
2021-05-07
老师,我重新看了视频重新写了一遍现在是这样的错误跟上面的人的错误一模一样您提供的加了 related_name后面报了更多的错误,我在前面的提问者哪里提问也没有得到回答,您说的源代码拷贝过来也是这样,我不知道怎么解决了,您能看看吗,我已经卡住好几天了,好多人也是这个错误,这种问题有没有可以解决的办法,我一个不是唯一一个遇到这个问题的人,如果有解决的办法的话,后面的人也可以很好的解决。
ERRORS:
courses.Course.teacher: (models.E006) The field ‘teacher’ clashes with the field ‘teacher’ from model ‘users.basemodel’.
courses.CourseResource.course: (models.E006) The field ‘course’ clashes with the field ‘course’ from model ‘users.basemodel’.
courses.Lesson.course: (models.E006) The field ‘course’ clashes with the field ‘course’ from model ‘users.basemodel’.
courses.Video.lesson: (models.E006) The field ‘lesson’ clashes with the field ‘lesson’ from model ‘users.basemodel’.
operations.CourseComments.course: (models.E006) The field ‘course’ clashes with the field ‘course’ from model ‘users.basemodel’.
operations.UserCourse.course: (models.E006) The field ‘course’ clashes with the field ‘course’ from model ‘users.basemodel’.
organizations.CourseOrg.city: (models.E006) The field ‘city’ clashes with the field ‘city’ from model ‘users.basemodel’.
1回答
-
CHASSEUR
提问者
2021-05-07
另一个是同样的问题
012021-05-08
相似问题