diff options
author | Dan McGee <dan@archlinux.org> | 2010-03-01 19:04:41 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-04-18 23:27:27 -0500 |
commit | ec59440262596a03e2b374f96d24e295df56c9b8 (patch) | |
tree | 999a6f3bf90ebbedafdff38734c60ece35b2fb87 /public | |
parent | d9e4a36fc96f7a0dd4b455189ee2ed45db005966 (diff) |
Remove Arch-Based Projects
Add a link to the wiki instead. Also remove ExternalProject model and
associated dealings.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public')
-rw-r--r-- | public/tests.py | 3 | ||||
-rw-r--r-- | public/views.py | 8 |
2 files changed, 1 insertions, 10 deletions
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 @@ class PublicTest(TestCase): 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': |