mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-30 21:44:04 +03:00
e7af8d662b
* tests for #5127 * Resolves #5127
9 lines
221 B
Python
9 lines
221 B
Python
from rest_framework.serializers import ModelSerializer
|
|
from tests.models import BasicModelWithUsers
|
|
|
|
|
|
class BasicSerializer(ModelSerializer):
|
|
class Meta:
|
|
model = BasicModelWithUsers
|
|
fields = '__all__'
|