summaryrefslogtreecommitdiffstats
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-03-12 00:23:59 +0100
committerDan McGee <dan@archlinux.org>2013-03-12 00:24:56 +0100
commit00b9084303ccb27f7937a9392d2a582d25a04288 (patch)
treecd568f430e76c6b78ac8daee225ceedb32ca7962 /todolists
parentf579f88e174abfd0514788879fd190035b6bbf87 (diff)
downloadarchweb-00b9084303ccb27f7937a9392d2a582d25a04288.tar.gz
archweb-00b9084303ccb27f7937a9392d2a582d25a04288.tar.xz
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')
-rw-r--r--todolists/views.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/todolists/views.py b/todolists/views.py
index 4b4a4dd..abec925 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: