#27144: annotating across a ManyToManyField returns duplicate results
-------------------------------------+-------------------------------------
Reporter: setivolkylany | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by setivolkylany):
Replying to [comment:2 shaib]:
> Hi,
>
> We value your interest in the Django project. However, you are asking
questions in the wrong place and in the wrong way.
>
> Please don't open an issue unless you are fairly convinced that you
found a problem with Django.
>
> With respect to how to ask questions -- it is not about the English
language, it is about the content of the tickets you open. Please see e.g.
[http://www.catb.org/esr/faqs/smart-questions.html#translations How to ask
smart questions] -- the link points directly to the list of translations,
so you can hopefully read it in your language.
>
> For the specific matter you raised here -- yes, I believe this is the
result one should expect. It is not a bug. For what you are trying to
achieve, try to use `prefetch_related`.
Please, delete this ticket
--
Ticket URL: <https://code.djangoproject.com/ticket/27144#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/071.5fab20216ba5cc61e3056ca8dade94c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.