Files
LXC-Dispatcharr-modificado-…/apps/hdhr/serializers.py
T
root f56b088643
Base Image Build / prepare (push) Has been cancelled
Build and Push Multi-Arch Docker Image / build-and-push (push) Has been cancelled
Frontend Tests / test (push) Has been cancelled
Base Image Build / docker (amd64, ubuntu-24.04) (push) Has been cancelled
Base Image Build / docker (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Base Image Build / create-manifest (push) Has been cancelled
Proyecto LCX Dispatcharr multicuenta
2026-05-09 21:24:50 +02:00

11 lines
300 B
Python

from rest_framework import serializers
from .models import HDHRDevice
class HDHRDeviceSerializer(serializers.ModelSerializer):
"""Serializer for HDHomeRun device information"""
class Meta:
model = HDHRDevice
fields = ['id', 'friendly_name', 'device_id', 'tuner_count']