StudE-Backend/stude/landmarks/serializers.py

9 lines
193 B
Python
Raw Normal View History

from .models import Landmark
from rest_framework import serializers
class LandmarkSerializer(serializers.ModelSerializer):
class Meta:
model = Landmark
fields = '__all__'