summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/tests.py3
-rw-r--r--public/views.py8
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':