Closed frchnrzm closed 1 year ago
The same happened to me. The "Course object" gave me the hint: the system is not getting the name of the course when using the object directly. So I checked the models.py file and found out the problem: the code is using the old "def unicode" method (Python 2) and I am using Python 3. The fix is easy: edit models.py and replace "def unicode" with "def str", and It will work.
I see plenty of people having issues using the newer Python version, please refer to:
hello, i have a problem on professor profile, at the chapter name i can not be clicked, the message is DoesNotExist at /courses/professor/Course object/test1/ Chapter matching query does not exist.