Merge branch 'develop'
[django-cas-provider.git] / cas_provider / admin.py
1 from django.contrib import admin
2 from models import *
3
4 class ServiceTicketAdmin(admin.ModelAdmin):
5     list_display = ('user', 'service', 'created')
6     list_filter = ('created',)
7
8 class LoginTicketAdmin(admin.ModelAdmin):
9     list_display = ('ticket', 'created')
10     list_filter = ('created',)
11
12 admin.site.register(ServiceTicket, ServiceTicketAdmin)
13 admin.site.register(LoginTicket, LoginTicketAdmin)