summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-01 18:55:09 -0600
committerDan McGee <dan@archlinux.org>2010-04-18 23:14:53 -0500
commit1709def7f196e863de990ce3d55de63f7a349268 (patch)
treec3cc4ab24dfaabb078f2dbcec52adb6f30271c1d /main/admin.py
parent94b735a181cef2a42d19a2bde55d48727a0ce35a (diff)
Remove International Communities
Add link to wiki instead. Also remove AltForum model and associated dealings. Signed-off-by: Dan McGee <dan@archlinux.org>
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)