from django.shortcuts import render, get_object_or_404
from django.http import JsonResponse
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import authentication, permissions, mixins, generics
from rest_framework import viewsets
from rest_framework.decorators import action
from ..serializers import LeagueGameSerializer
from ..models import League, LeagueGame
# from . import CustomJsonRender


class LeagueGameViewSet(viewsets.ModelViewSet):

    queryset = LeagueGame.objects.all()
    serializer_class = LeagueGameSerializer
    # renderer_classes = (CustomJsonRender,)

e252dc996096871c519b552f1dff5024ee370940
<mask token>

<mask token>


class LeagueGameViewSet(viewsets.ModelViewSet):
    <mask token>
    <mask token>

<mask token>


class LeagueGameViewSet(viewsets.ModelViewSet):
    queryset = LeagueGame.objects.all()
    serializer_class = LeagueGameSerializer

from django.shortcuts import render, get_object_or_404
from django.http import JsonResponse
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import authentication, permissions, mixins, generics
from rest_framework import viewsets
from rest_framework.decorators import action
from ..serializers import LeagueGameSerializer
from ..models import League, LeagueGame


class LeagueGameViewSet(viewsets.ModelViewSet):
    queryset = LeagueGame.objects.all()
    serializer_class = LeagueGameSerializer

from django.shortcuts import render, get_object_or_404
from django.http import JsonResponse
from rest_framework.views import APIView
from rest_framework.response import Response
from rest_framework import authentication, permissions, mixins, generics
from rest_framework import viewsets
from rest_framework.decorators import action
from ..serializers import LeagueGameSerializer
from ..models import League, LeagueGame
# from . import CustomJsonRender


class LeagueGameViewSet(viewsets.ModelViewSet):

    queryset = LeagueGame.objects.all()
    serializer_class = LeagueGameSerializer
    # renderer_classes = (CustomJsonRender,)
