StudE-Backend/stude/student_status/serializers.py

10 lines
309 B
Python
Raw Normal View History

2023-06-26 22:06:05 +08:00
from rest_framework import serializers
from student_status.models import StudentStatus
class StudentStatusSerializer(serializers.ModelSerializer):
class Meta:
model = StudentStatus
fields = ('x_latitude', 'y_latitude', 'subject',
'year_level', 'semester', 'timestamp')