portier/restream/admin.py

10 lines
226 B
Python
Raw Normal View History

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