Removing more debug

This commit is contained in:
MooseyOnTheLoosey 2025-05-08 09:50:19 -05:00
parent f6ea1b41b3
commit 5bae7997c0
2 changed files with 1 additions and 2 deletions

View file

@ -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')

View file

@ -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',