aboutsummaryrefslogtreecommitdiffstats
path: root/api-guide/relations.html
diff options
context:
space:
mode:
authorTom Christie2013-12-09 08:47:06 +0000
committerTom Christie2013-12-09 08:47:06 +0000
commite9dbffb602cf925ce126840db8be6e13277e7b83 (patch)
tree1e7f463dad51a29c5dda00d82ecfaae2ab99e20d /api-guide/relations.html
parent3dd0a783172bada8b836c81059a658e038b50b89 (diff)
downloaddjango-rest-framework-e9dbffb602cf925ce126840db8be6e13277e7b83.tar.bz2
Latest docs build
Diffstat (limited to 'api-guide/relations.html')
-rw-r--r--api-guide/relations.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/api-guide/relations.html b/api-guide/relations.html
index 34252036..21842197 100644
--- a/api-guide/relations.html
+++ b/api-guide/relations.html
@@ -189,7 +189,7 @@
<div>
<hr>
-<p><strong>The team behind REST framework are launching a new API service.</strong></p>
+<p><strong>The team behind REST framework is launching a new API service.</strong></p>
<p>If you want to be first in line when we start issuing invitations, please sign up here:</p>
@@ -250,7 +250,7 @@ class Track(models.Model):
<p><code>RelatedField</code> may be used to represent the target of the relationship using its <code>__unicode__</code> method.</p>
<p>For example, the following serializer.</p>
<pre class="prettyprint lang-py"><code>class AlbumSerializer(serializers.ModelSerializer):
- tracks = RelatedField(many=True)
+ tracks = serializers.RelatedField(many=True)
class Meta:
model = Album