X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/0ea3daef05a6126e6429d37d9706aef785104802..11d994f1d3d527e130eedbdacca59aa600f98fa8:/cas_provider/admin.py?ds=inline 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)