You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class BaseDoc(TypedModel):
...
class BaseDocItem(TypedModel):
doc = models.ForeignKey(BaseDoc)
class MyDoc(BaseDoc):
...
class MyItem(BaseDocItem):
...
and post_delete signal handler for MyItem
then: item.delete() fires post_delete signal with source=MyItem but doc.delete() fires post_delete signal with source=BaseDocItem
expected result:
without TypedModel post_delete is always fired with source=MyItem
The text was updated successfully, but these errors were encountered:
Given this doc-item hierarchy:
and post_delete signal handler for MyItem
then:
item.delete()
fires post_delete signal withsource=MyItem
but doc.delete()
fires post_delete signal withsource=BaseDocItem
expected result:
without TypedModel post_delete is always fired with
source=MyItem
The text was updated successfully, but these errors were encountered: