Edited README.rst via GitHub
[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 LoginTicketAdmin(admin.ModelAdmin):
10     list_display = ('ticket', 'created')
11     list_filter = ('created',)
12
13 admin.site.register(ServiceTicket, ServiceTicketAdmin)
14 admin.site.register(LoginTicket, LoginTicketAdmin)