mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 22:39:25 +08:00
9 lines
241 B
Python
9 lines
241 B
Python
|
from rest_framework import generics
|
||
|
from .models import Year_Level
|
||
|
from .serializers import YearLevelSerializer
|
||
|
|
||
|
|
||
|
class CourseListView(generics.ListAPIView):
|
||
|
serializer_class = YearLevelSerializer
|
||
|
queryset = Year_Level.objects.all()
|