portier/source/restream/admin.py

11 lines
257 B
Python
Raw Normal View History

2020-04-15 20:29:59 +02:00
from django.contrib import admin
from guardian.admin import GuardedModelAdmin
2020-04-15 20:29:59 +02:00
from .models import RestreamConfig
@admin.register(RestreamConfig)
class RestreamConfigAdmin(GuardedModelAdmin):
fields = ['name', 'active', 'stream', 'format', 'target']
2020-04-15 20:29:59 +02:00