1
無論何時從post_save.connect(after_saving_invoice, sender=Invoice)
內部創建invoice
,我都需要創建一個invoice
對象。這導致Exception Value: maximum recursion depth exceeded while calling a Python object
。避免異常值:在Django信號中調用Python對象時超出最大遞歸深度
異常的原因很清楚,但我該如何克服它?