Why does Django ORM not find related object in post_delete signal?

前端 未结 0 530
忘了有多久
忘了有多久 2021-02-07 23:31

When I delete a PumpLog I delete the related Invoice via on_delete = models.CASCADE. Invoices have a post_delete signal that queries on that relationship (see the line with

相关标签:
回答
  • 消灭零回复
提交回复
热议问题