diff --git a/multilingual/query.py b/multilingual/query.py index 3b336bf..afb0cc7 100644 --- a/multilingual/query.py +++ b/multilingual/query.py @@ -508,7 +508,7 @@ def setup_joins(self, names, opts, alias, dupe_multis, allow_many=True, def get_count(self): # optimize for the common special case: count without any # filters - if ((not (self.select or self.where or self.extra_where)) + if ((not (self.select or self.where)) and self.include_translation_data): obj = self.clone(extra_select = {}, extra_join = {},