#24156: inherited manytomany.all() empty when 2 or more inherited model from
abstract one
-------------------------------------+-------------------------------------
Reporter: Pawamoy | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: inherit asbtract | Triage Stage: Accepted
manytomanys |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by coldmind):
In fact, list is not empty.
In my example it get empty list because `ModelB` results are empty.
That means that if I will inherit 2 or more models from abstract one,
`ModelA` and `ModelB` will have the result of `ModelC` queryset.
--
Ticket URL: <https://code.djangoproject.com/ticket/24156#comment:4>
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/065.d95731ebccef3b82a772f99a370ba42d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.