Signal disconnect not working with multiple decorators

前端 未结 0 1363
再見小時候
再見小時候 2021-01-26 09:04

Here\'s my setup:

class MyModel(models.Model):
    pass

@receiver(post_save, sender=MyModel)
@receiver(post_delete, sender         


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