add admins for proxy related tickets
authorSebastian Annies <sebastian.annies@googlemail.com>
Mon, 17 Oct 2011 17:10:58 +0000 (19:10 +0200)
committerSebastian Annies <sebastian.annies@googlemail.com>
Mon, 17 Oct 2011 17:12:49 +0000 (19:12 +0200)
cas_provider/admin.py

index f5058a4..499fa43 100644 (file)
@@ -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)