#9318: "Virtual" behaviour for signal dispatcher and model inheritance
-------------------------------------+-------------------------------------
Reporter: Alexander Artemenko | Owner: (none)
Type: New feature | Status: new
Component: Core (Other) | Version: 1.0
Severity: Normal | Resolution:
Keywords: model inheritance, | Triage Stage: Accepted
signals, dispatch, proxy, |
subclass |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Derek Frank):
This is also an issue for deferred querysets.
`queryset = Blog.objects.only('pk')`
`queryset.delete()` will not run handlers for pre_delete and post_delete
signals.
It appears a new class type is defined for the deferred object.
`id(queryset.first().__class__) == id(Blog)` --> `False`
--
Ticket URL: <https://code.djangoproject.com/ticket/9318#comment:34>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.42792863910aa0fee1ce59d9541d4515%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.