fnp
/
cas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
l10n
[cas.git]
/
src
/
services
/
admin.py
1
from django.contrib import admin
2
from . import models
3
4
5
class HookInline(admin.TabularInline):
6
model = models.Hook
7
8
9
class ServiceAdmin(admin.ModelAdmin):
10
filter_horizontal = ['groups', 'users']
11
inlines = [
12
HookInline,
13
]
14
15
16
admin.site.register(models.Service, ServiceAdmin)
17
18