from django.db import models
from django.db.models import fields
from rest_framework import serializers
from .models import students

class studentsSerializer(serializers.ModelSerializer):
    
    class Meta:
     model = students
     # fields = ('firstname', 'lastname')
     fields = '__all__'
