some tests, and docker fix
[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