From 124e996b53512c93f3bfbee7c5cd5e01b0f1979f Mon Sep 17 00:00:00 2001
From: Tom Christie
Date: Mon, 9 Dec 2013 09:55:42 +0000
Subject: Update release notes
---
api-guide/serializers.html | 2 +-
topics/release-notes.html | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/api-guide/serializers.html b/api-guide/serializers.html
index f9ecb9f0..ce04b3f3 100644
--- a/api-guide/serializers.html
+++ b/api-guide/serializers.html
@@ -548,7 +548,7 @@ The ModelSerializer class lets you automatically create a Serialize
fields = ('url', 'account_name', 'users', 'created')
lookup_field = 'slug'
-
Not that the lookup_field will be used as the default on all hyperlinked fields, including both the URL identity, and any hyperlinked relationships.
Note that the lookup_field will be used as the default on all hyperlinked fields, including both the URL identity, and any hyperlinked relationships.
For more specific requirements such as specifying a different lookup for each field, you'll want to set the fields on the serializer explicitly. For example:
class AccountSerializer(serializers.HyperlinkedModelSerializer):
url = serializers.HyperlinkedIdentityField(
diff --git a/topics/release-notes.html b/topics/release-notes.html
index 6a920566..2f8fe69c 100644
--- a/topics/release-notes.html
+++ b/topics/release-notes.html
@@ -244,6 +244,10 @@
Date: 6th December 2013