Changes between Version 1 and Version 2 of Ticket #26071
- Timestamp:
- Jan 11, 2016, 11:01:12 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26071 – Description
v1 v2 5 5 The stacktrace looks like: 6 6 7 {{{ 7 8 lib/python2.7/site-packages/django/db/models/query.py line 794 in annotate 8 9 obj.query.add_annotation(annotation, alias, is_summary=False) … … 30 31 return getattr(obj.lhs, 'contains_aggregate', False) or getattr(obj.rhs, 'contains_aggregate', False) 31 32 AttributeError: 'SubqueryConstraint' object has no attribute 'lhs' 33 }}} 32 34 33 35 This error is already fixed on django 1.9 branch. The problem was fixed with this commit: