<filename>notes_project/notes/serializers.py<gh_stars>0
from rest_framework import serializers


from . import models

class NoteSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Note
        fields = '__all__'
<filename>notes_project/notes/serializers.py<gh_stars>0
from rest_framework import serializers


from . import models

class NoteSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Note
        fields = '__all__'