diff --git a/apps/channels/api_views.py b/apps/channels/api_views.py index a6200ae5..13535c8c 100644 --- a/apps/channels/api_views.py +++ b/apps/channels/api_views.py @@ -23,6 +23,7 @@ import mimetypes from rest_framework.pagination import PageNumberPagination + class OrInFilter(django_filters.Filter): """ Custom filter that handles the OR condition instead of AND. @@ -254,7 +255,6 @@ class ChannelViewSet(viewsets.ModelViewSet): if not stream_id: return Response({"error": "Missing stream_id"}, status=status.HTTP_400_BAD_REQUEST) stream = get_object_or_404(Stream, pk=stream_id) - logger.debug(f"Stream found: {stream.id}, Custom Properties: {stream.custom_properties}") channel_group = stream.channel_group name = request.data.get('name') diff --git a/apps/channels/models.py b/apps/channels/models.py index fb208bcd..fc6af558 100644 --- a/apps/channels/models.py +++ b/apps/channels/models.py @@ -211,7 +211,6 @@ class ChannelManager(models.Manager): class Channel(models.Model): channel_number = models.FloatField(db_index=True) - logger.debug(f"Saving channel with channel_number: {channel_number}") name = models.CharField(max_length=255) logo = models.ForeignKey( 'Logo',