summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/tests.py4
-rw-r--r--public/views.py8
2 files changed, 1 insertions, 11 deletions
diff --git a/public/tests.py b/public/tests.py
index c792343d..022560b2 100644
--- a/public/tests.py
+++ b/public/tests.py
@@ -35,10 +35,6 @@ class PublicTest(TestCase):
response = self.client.get('/download/')
self.assertEqual(response.status_code, 200)
- def test_moreforums(self):
- response = self.client.get('/moreforums/')
- 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 79dae55c..77fb6405 100644
--- a/public/views.py
+++ b/public/views.py
@@ -1,4 +1,4 @@
-from main.models import AltForum, Arch, Donor, MirrorUrl, News
+from main.models import Arch, Donor, MirrorUrl, News
from main.models import Package, Repo, ExternalProject
from . import utils
@@ -68,12 +68,6 @@ def download(request):
template_object_name="mirror_url",
extra_context={"path": request.path})
-def moreforums(request):
- return list_detail.object_list(request,
- AltForum.objects.order_by('language', 'name'),
- template_name="public/moreforums.html",
- template_object_name="forum")
-
def feeds(request):
context = {
'arches': Arch.objects.all(),