From 4a479a2031c6d6f96c876e09f6792f96a36da134 Mon Sep 17 00:00:00 2001 From: Sebastian Annies Date: Mon, 17 Oct 2011 19:10:58 +0200 Subject: [PATCH] add admins for proxy related tickets --- cas_provider/admin.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cas_provider/admin.py b/cas_provider/admin.py index f5058a4..499fa43 100644 --- a/cas_provider/admin.py +++ b/cas_provider/admin.py @@ -6,9 +6,24 @@ class ServiceTicketAdmin(admin.ModelAdmin): list_display = ('user', 'service', 'created') list_filter = ('created',) +class ProxyTicketAdmin(admin.ModelAdmin): + list_display = ('user', 'service', 'created') + list_filter = ('created',) + class LoginTicketAdmin(admin.ModelAdmin): list_display = ('ticket', 'created') list_filter = ('created',) +class ProxyGrantingTicketAdmin(admin.ModelAdmin): + list_display = ('ticket', 'created') + list_filter = ('created',) + +class ProxyGrantingTicketIOUAdmin(admin.ModelAdmin): + list_display = ('ticket', 'created') + list_filter = ('created',) + admin.site.register(ServiceTicket, ServiceTicketAdmin) +admin.site.register(ProxyTicket, ProxyTicketAdmin) admin.site.register(LoginTicket, LoginTicketAdmin) +admin.site.register(ProxyGrantingTicket, ProxyGrantingTicketAdmin) +admin.site.register(ProxyGrantingTicketIOU, ProxyGrantingTicketIOUAdmin) -- 2.20.1