summaryrefslogtreecommitdiff
path: root/todolists/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'todolists/utils.py')
-rw-r--r--todolists/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todolists/utils.py b/todolists/utils.py
index d084c645..0daca3b6 100644
--- a/todolists/utils.py
+++ b/todolists/utils.py
@@ -19,7 +19,7 @@ SELECT todolist_id, count(*), sum(CASE WHEN status = %s THEN 1 ELSE 0 END)
def get_annotated_todolists(incomplete_only=False):
- lists = Todolist.objects.all().select_related(
+ lists = Todolist.objects.all().defer('raw').select_related(
'creator').order_by('-created')
lookup = todo_counts()