summaryrefslogtreecommitdiff
path: root/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/todolists/views.py b/todolists/views.py
index abec9253..7636d38e 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -92,7 +92,8 @@ def list_pkgbases(request, slug, svn_root):
def todolist_list(request):
- lists = get_annotated_todolists()
+ incomplete_only = request.user.is_anonymous()
+ lists = get_annotated_todolists(incomplete_only)
return render(request, 'todolists/list.html', {'lists': lists})