Changes between Version 1 and Version 2 of Ticket #26071


Ignore:
Timestamp:
Jan 11, 2016, 11:01:12 AM (8 years ago)
Author:
Alberto Avila
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26071 – Description

    v1 v2  
    55The stacktrace looks like:
    66
     7{{{
    78    lib/python2.7/site-packages/django/db/models/query.py line 794 in annotate
    89      obj.query.add_annotation(annotation, alias, is_summary=False)
     
    3031      return getattr(obj.lhs, 'contains_aggregate', False) or getattr(obj.rhs, 'contains_aggregate', False)
    3132   AttributeError: 'SubqueryConstraint' object has no attribute 'lhs'
     33}}}
    3234
    3335This error is already fixed on django 1.9 branch. The problem was fixed with this commit:
Back to Top