錯誤信息:get() returned more than one Role -- it returned 2! get
Lookup parameters were {'course_id': CourseLocator(u'MOOCOLLEGE', u'B001', u'Always', None, None), 'name': 'Student'}qt
分析:超過一個返回值it
解決:返回一個返回值或使用filtermargin