Django: python manage.py runserver gives RuntimeError: maximum recursion depth exceeded in cmp

前端 未结 4 1848
长情又很酷
长情又很酷 2020-11-30 10:24

I am trying to learn Django form the 1st tutorial on the Django project website. I might be missing something obvious but, after following all the instructions when I come

4条回答
  •  Happy的楠姐
    2020-11-30 10:49

    You have likely run into this bug: http://bugs.python.org/issue10042

    Exactly what happens is hard to tell without debugging, bit I'd guess one of the things that should be a field isn't in this line:

    self.local_fields.insert(bisect(self.local_fields, field), field)
    

提交回复
热议问题