<reponame>crowdbotics-apps/rizen-electronics-28731
from rest_framework import authentication
from rest_framework import viewsets
from dashboard.models import Exercises
from .serializers import ExercisesSerializer


class ExercisesViewSet(viewsets.ModelViewSet):
    serializer_class = ExercisesSerializer
    queryset = Exercises.objects.all()

from rest_framework import authentication
from rest_framework import viewsets
from dashboard.models import Exercises
from .serializers import ExercisesSerializer


class ExercisesViewSet(viewsets.ModelViewSet):
    serializer_class = ExercisesSerializer
    queryset = Exercises.objects.all()