aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/relations.md
diff options
context:
space:
mode:
authorTom Christie2013-01-28 08:01:54 +0000
committerTom Christie2013-01-28 08:01:54 +0000
commite682bfa54efc391df4d6bb7cf78a2089213b8d6b (patch)
treeebd512a28d48a8299edbecdb3fbaced01cb5319d /docs/api-guide/relations.md
parent896477f6509fb56ec0a946560748885f6ca6fe8d (diff)
downloaddjango-rest-framework-e682bfa54efc391df4d6bb7cf78a2089213b8d6b.tar.bz2
Drop unneccessary `source=` argument.
Diffstat (limited to 'docs/api-guide/relations.md')
-rw-r--r--docs/api-guide/relations.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/relations.md b/docs/api-guide/relations.md
index 351b5e09..9f5a04b2 100644
--- a/docs/api-guide/relations.md
+++ b/docs/api-guide/relations.md
@@ -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