#9041: invalid count result when paired with select_related
------------------------------------------------------------+---------------
Reporter: Mathieu Bouchard <[email protected]> | Owner:
nobody
Status: new | Milestone:
1.1
Component: Database layer (models, ORM) | Version:
1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------------+---------------
Comment (by mtredinnick):
This is difficult to diagnose, since the problem is highly dependent on
the original models. In particular, which relations are nullable (have
`null=True`). Can you provide a description of the models you're using. I
don't need all the gory details, but at least the outline of `Session`,
`Key` and how they're linked together.
--
Ticket URL: <http://code.djangoproject.com/ticket/9041#comment:3>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---