django-rest-framework/rest_framework/tests/users/serializers.py

9 lines
181 B
Python

from rest_framework import serializers
from rest_framework.tests.users.models import User
class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User