Fixed never_cache decorator to, well, never cache.
[django-cas-provider.git] / cas_provider / admin.py
1 from django.contrib import admin
2 from models import *
3
4
5 class ServiceTicketAdmin(admin.ModelAdmin):
6     list_display = ('user', 'service', 'created')
7     list_filter = ('created',)
8
9 class ProxyTicketAdmin(admin.ModelAdmin):
10     list_display = ('user', 'service', 'created')
11     list_filter = ('created',)
12
13 class LoginTicketAdmin(admin.ModelAdmin):
14     list_display = ('ticket', 'created')
15     list_filter = ('created',)
16
17 class ProxyGrantingTicketAdmin(admin.ModelAdmin):
18     list_display = ('ticket', 'created')
19     list_filter = ('created',)
20
21 class ProxyGrantingTicketIOUAdmin(admin.ModelAdmin):
22     list_display = ('ticket', 'created')
23     list_filter = ('created',)
24
25 admin.site.register(ServiceTicket, ServiceTicketAdmin)
26 admin.site.register(ProxyTicket, ProxyTicketAdmin)
27 admin.site.register(LoginTicket, LoginTicketAdmin)
28 admin.site.register(ProxyGrantingTicket, ProxyGrantingTicketAdmin)
29 admin.site.register(ProxyGrantingTicketIOU, ProxyGrantingTicketIOUAdmin)