mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-15 22:26:57 +03:00
9 lines
181 B
Python
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
|