summaryrefslogtreecommitdiff
path: root/todolists/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-03-11 18:23:59 -0500
committerDan McGee <dan@archlinux.org>2013-03-11 18:24:56 -0500
commit00b9084303ccb27f7937a9392d2a582d25a04288 (patch)
treecd568f430e76c6b78ac8daee225ceedb32ca7962 /todolists/views.py
parentf579f88e174abfd0514788879fd190035b6bbf87 (diff)
Remove public todolists view
Replace this with a redirect to the developer todolist index page. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists/views.py')
-rw-r--r--todolists/views.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/todolists/views.py b/todolists/views.py
index 4b4a4dd2..abec9253 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -230,14 +230,4 @@ def send_todolist_emails(todo_list, new_packages):
[maint],
fail_silently=True)
-
-def public_list(request):
- todo_lists = Todolist.objects.incomplete().defer(
- 'raw').order_by('-created')
- # total hackjob, but it makes this a lot less query-intensive.
- all_pkgs = [tp for tl in todo_lists for tp in tl.packages()]
- attach_maintainers(all_pkgs)
- return render(request, "todolists/public_list.html",
- {"todo_lists": todo_lists})
-
# vim: set ts=4 sw=4 et: