From 8997750c43c10bcb9816b4195a530145dbf385e8 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 14 Oct 2016 16:46:37 -0400 Subject: [PATCH] Removed unused QuerySet.value_annotation attribute. Unused since 5008a4db440c8f7d108a6979b959025ffb5789ba. --- django/db/models/query.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/django/db/models/query.py b/django/db/models/query.py index b650016aab..29ecf16951 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -1151,10 +1151,6 @@ class QuerySet(object): return clone.query.get_compiler(connection=connection).as_nested_sql() 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): """ Update hinting information for later use by Routers