summaryrefslogtreecommitdiff
path: root/mirrors/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors/admin.py')
-rw-r--r--mirrors/admin.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/mirrors/admin.py b/mirrors/admin.py
index 394b3508..6990cca2 100644
--- a/mirrors/admin.py
+++ b/mirrors/admin.py
@@ -55,7 +55,11 @@ class MirrorAdmin(admin.ModelAdmin):
MirrorRsyncInlineAdmin,
]
+class MirrorProtocolAdmin(admin.ModelAdmin):
+ list_display = ('protocol', 'is_download',)
+ list_filter = ('is_download',)
+
admin.site.register(Mirror, MirrorAdmin)
-admin.site.register(MirrorProtocol)
+admin.site.register(MirrorProtocol, MirrorProtocolAdmin)
# vim: set ts=4 sw=4 et: