diff options
Diffstat (limited to 'api-guide/relations/index.html')
| -rw-r--r-- | api-guide/relations/index.html | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/api-guide/relations/index.html b/api-guide/relations/index.html index 03e88565..2c4fe9b6 100644 --- a/api-guide/relations/index.html +++ b/api-guide/relations/index.html @@ -792,7 +792,7 @@ class Note(models.Model):              return 'Note: ' + value.text          raise Exception('Unexpected type of tagged object')  </code></pre> -<p>If you need the target of the relationship to have a nested representation, you can use the required serializers inside the <code>.to_native()</code> method:</p> +<p>If you need the target of the relationship to have a nested representation, you can use the required serializers inside the <code>.to_representation()</code> method:</p>  <pre><code>    def to_representation(self, value):          """          Serialize bookmark instances using a bookmark serializer, | 
