Django-NotesApp/project/accounts/serializers.py

4 lines
116 B
Python
Raw Permalink Normal View History

from django.contrib.auth.models import User
from rest_framework import serializers
from notes.models import Note