From 00b9084303ccb27f7937a9392d2a582d25a04288 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 11 Mar 2013 18:23:59 -0500 Subject: Remove public todolists view Replace this with a redirect to the developer todolist index page. Signed-off-by: Dan McGee --- todolists/views.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'todolists') 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: -- cgit v1.2.3-24-g4f1b