Removed unused QuerySet.value_annotation attribute.

Unused since 5008a4db44.
This commit is contained in:
Tim Graham 2016-10-14 16:46:37 -04:00
parent 5a772a0b7b
commit 8997750c43
1 changed files with 0 additions and 4 deletions

View File

@ -1151,10 +1151,6 @@ class QuerySet(object):
return clone.query.get_compiler(connection=connection).as_nested_sql() return clone.query.get_compiler(connection=connection).as_nested_sql()
raise ValueError("Can't do subqueries with queries on different DBs.") raise ValueError("Can't do subqueries with queries on different DBs.")
# When used as part of a nested query, a queryset will never be an "always
# empty" result.
value_annotation = True
def _add_hints(self, **hints): def _add_hints(self, **hints):
""" """
Update hinting information for later use by Routers Update hinting information for later use by Routers