Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't support read_only_fields in serializer #170

Open
efazati opened this issue Jun 19, 2017 · 0 comments
Open

doesn't support read_only_fields in serializer #170

efazati opened this issue Jun 19, 2017 · 0 comments

Comments

@efazati
Copy link

efazati commented Jun 19, 2017

I have serializer and Django rest docs doesn't understand read_only_fields
for example:

class SampleSerializer(serializers.ModelSerializer):
    class Meta:
        model = Wallet
        fields = ('id', 'name', 'owner')
        read_only_fields = ('id','owner')
@efazati efazati changed the title dosen't support read_only_fields doesn't support read_only_fields in serializer Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant