summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/admin.py')
-rw-r--r--main/admin.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/main/admin.py b/main/admin.py
index 4e71c4e0..64f28207 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -3,16 +3,10 @@ from django import forms
from django.contrib import admin
from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin
-from main.models import (AltForum, Arch, Donor,
+from main.models import (Arch, Donor,
Mirror, MirrorProtocol, MirrorUrl, MirrorRsync,
Package, Repo, UserProfile, ExternalProject)
-class AltForumAdmin(admin.ModelAdmin):
- list_display = ('language', 'name')
- list_filter = ('language',)
- ordering = ['name']
- search_fields = ('name',)
-
class DonorAdmin(admin.ModelAdmin):
ordering = ['name']
search_fields = ('name',)
@@ -90,7 +84,6 @@ class UserProfileAdmin(UserAdmin):
admin.site.register(User, UserProfileAdmin)
-admin.site.register(AltForum, AltForumAdmin)
admin.site.register(Donor, DonorAdmin)
admin.site.register(Mirror, MirrorAdmin)