fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'elep'
[django-cas-provider.git]
/
cas_provider
/
admin.py
diff --git
a/cas_provider/admin.py
b/cas_provider/admin.py
index
f5058a4
..
075fcb9
100644
(file)
--- a/
cas_provider/admin.py
+++ b/
cas_provider/admin.py
@@
-1,14
+1,31
@@
+from __future__ import unicode_literals
+
from django.contrib import admin
from django.contrib import admin
-from models import *
+from
.
models import *
class ServiceTicketAdmin(admin.ModelAdmin):
list_display = ('user', 'service', 'created')
list_filter = ('created',)
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 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(ServiceTicket, ServiceTicketAdmin)
+admin.site.register(ProxyTicket, ProxyTicketAdmin)
admin.site.register(LoginTicket, LoginTicketAdmin)
admin.site.register(LoginTicket, LoginTicketAdmin)
+admin.site.register(ProxyGrantingTicket, ProxyGrantingTicketAdmin)
+admin.site.register(ProxyGrantingTicketIOU, ProxyGrantingTicketIOUAdmin)