mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-01-31 21:08:09 +08:00
8 lines
268 B
Python
8 lines
268 B
Python
from rest_framework import generics
|
|
from rest_framework.permissions import IsAuthenticated
|
|
from .serializers import LandmarkSerializer
|
|
|
|
|
|
class LandmarkListView(generics.ListAPIView):
|
|
serializer_class = LandmarkSerializer
|
|
permission_classes = [IsAuthenticated]
|