#24004: Can't use only() with latest() if x is in only() and get_latest_by
-------------------------------------+-------------------------------------
Reporter: knyghty | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.7
(models, ORM) | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by bmispelon):
Hi,
I can't seem to be able to reproduce the issue you're describing (I've
attached the test case I used as a patch).
Could you also show the traceback you're getting as well as the full
composition of your models (or ideally a reduced version of it that still
shows the issue).
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/24004#comment:3>
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.7fb32c9a3e770d8153b55e03b98d5383%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.