mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
Drop unneccessary source=
argument.
This commit is contained in:
parent
896477f650
commit
e682bfa54e
|
@ -67,7 +67,7 @@ For example, given the following models:
|
|||
And a model serializer defined like this:
|
||||
|
||||
class BookmarkSerializer(serializers.ModelSerializer):
|
||||
tags = serializers.ManyRelatedField(source='tags')
|
||||
tags = serializers.ManyRelatedField()
|
||||
|
||||
class Meta:
|
||||
model = Bookmark
|
||||
|
|
Loading…
Reference in New Issue
Block a user