From: Sebastian Annies Date: Mon, 17 Oct 2011 17:10:58 +0000 (+0200) Subject: add admins for proxy related tickets X-Git-Tag: 22.4~32^2~5 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/4a479a2031c6d6f96c876e09f6792f96a36da134?ds=inline;hp=a9dc703609231521ed596e6ac9fa7cd746aa6fe1 add admins for proxy related tickets --- 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)