summaryrefslogtreecommitdiffstats
path: root/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'todolists')
-rw-r--r--todolists/views.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/todolists/views.py b/todolists/views.py
index 83dd87d..6f1c6ed 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -154,5 +154,10 @@ def send_todolist_email(todo):
[m.email for m in maints],
fail_silently=True)
+def public_list(request):
+ todo_lists = Todolist.objects.incomplete()
+ return render_to_response("todolists/public_list.html",
+ RequestContext(request, {"todo_lists": todo_lists}))
+
# vim: set ts=4 sw=4 et: