summaryrefslogtreecommitdiff
path: root/main/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-01 18:57:58 -0600
committerDan McGee <dan@archlinux.org>2010-04-18 22:54:10 -0500
commit8e6bb3d794cd8c8d684115b325d8c33f530e5ecc (patch)
tree7216414a4b2980d69cf3a9177a4317274ea2a805 /main/admin.py
parentd38d1cbd349447d3e8c8f8e1cf65af2fb7bb6815 (diff)
Remove Press model and admin
A link to the wiki was already present, but the model and admin had not been removed. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/admin.py')
-rw-r--r--main/admin.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/main/admin.py b/main/admin.py
index d4a78068..4e71c4e0 100644
--- a/main/admin.py
+++ b/main/admin.py
@@ -5,7 +5,7 @@ from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin
from main.models import (AltForum, Arch, Donor,
Mirror, MirrorProtocol, MirrorUrl, MirrorRsync,
- Package, Press, Repo, UserProfile, ExternalProject)
+ Package, Repo, UserProfile, ExternalProject)
class AltForumAdmin(admin.ModelAdmin):
list_display = ('language', 'name')
@@ -79,11 +79,6 @@ class PackageAdmin(admin.ModelAdmin):
ordering = ['pkgname']
search_fields = ('pkgname',)
-class PressAdmin(admin.ModelAdmin):
- list_display = ('name', 'url')
- ordering = ['name']
- search_fields = ('name',)
-
admin.site.unregister(User)
class UserProfileInline(admin.StackedInline):
model = UserProfile
@@ -102,7 +97,6 @@ admin.site.register(Mirror, MirrorAdmin)
admin.site.register(MirrorProtocol)
admin.site.register(Package, PackageAdmin)
-admin.site.register(Press, PressAdmin)
admin.site.register(Arch)
admin.site.register(Repo, RepoAdmin)
admin.site.register(ExternalProject)