我在这里和谷歌上都看到了各种各样的答案,但是似乎没有任何确切的理由来解释为什么会出现这个错误。也许这是因为错误是相当通用的,但最常见的答案似乎是循环导入错误。default_manager.using(db).complex_filter(self.rel.limit_choices_to),
AttributeError: 'str' object has no attribute '_default_manager
File "C:/Users/user/PycharmProjects/MyDevWork/PygamesRelated/game_1.py", line 29, in <module>AttributeError: 'Event' object has no attribute 'key'import pygame
pygame.init