from dashboard.models import Student
from rest_framework import viewsets, permissions
from .serializers import StudentSerializer

# Student Viewset
class StudentViewSet(viewsets.ModelViewSet):
    queryset = Student.objects.all()
    permissions_classes = [
        permissions.AllowAny
    ]
    serializer_class = StudentSerializer