2020-04-15 20:29:59 +02:00
|
|
|
from django.contrib import admin
|
2020-05-01 12:38:57 +02:00
|
|
|
from guardian.admin import GuardedModelAdmin
|
2020-04-15 20:29:59 +02:00
|
|
|
from .models import RestreamConfig
|
|
|
|
|
|
|
|
|
2024-02-25 11:24:42 +01:00
|
|
|
@admin.register(RestreamConfig)
|
2020-05-01 12:38:57 +02:00
|
|
|
class RestreamConfigAdmin(GuardedModelAdmin):
|
2021-12-14 18:35:58 +01:00
|
|
|
fields = ['name', 'active', 'stream', 'format', 'target']
|
2020-04-15 20:29:59 +02:00
|
|
|
|
|
|
|
|