From ec59440262596a03e2b374f96d24e295df56c9b8 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 1 Mar 2010 19:04:41 -0600 Subject: Remove Arch-Based Projects Add a link to the wiki instead. Also remove ExternalProject model and associated dealings. Signed-off-by: Dan McGee --- public/tests.py | 3 --- public/views.py | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'public') diff --git a/public/tests.py b/public/tests.py index 022560b2..565d57ec 100644 --- a/public/tests.py +++ b/public/tests.py @@ -35,6 +35,3 @@ def test_download(self): response = self.client.get('/download/') self.assertEqual(response.status_code, 200) - def test_projects(self): - response = self.client.get('/projects/') - self.assertEqual(response.status_code, 200) diff --git a/public/views.py b/public/views.py index 77fb6405..51e55d12 100644 --- a/public/views.py +++ b/public/views.py @@ -1,5 +1,5 @@ from main.models import Arch, Donor, MirrorUrl, News -from main.models import Package, Repo, ExternalProject +from main.models import Package, Repo from . import utils from django.contrib.auth.models import User @@ -18,12 +18,6 @@ def index(request): return render_to_response('public/index.html', context, context_instance=RequestContext(request)) -def projects(request): - return list_detail.object_list(request, - ExternalProject.objects.all(), - template_name="public/projects.html", - template_object_name="project") - def userlist(request, type='Developers'): users = User.objects.order_by('username') if type == 'Developers': -- cgit v1.2.3-54-g00ecf