Hello Guys,
-- I am doing complex query using Q objects which is giving me wring 'count' of foreignkey objects that i am calculating using annotation.
I can confirm the annotation result is correct when no Q object is being used in the query.
Is it an expected behaviour?
How can i overcome this?
Regards
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c48d87b8-c4f1-479a-a007-6e37b1e7ad59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment