Commit 124e996b by Tom Christie

Update release notes

parent e9dbffb6
...@@ -548,7 +548,7 @@ The <code>ModelSerializer</code> class lets you automatically create a Serialize ...@@ -548,7 +548,7 @@ The <code>ModelSerializer</code> class lets you automatically create a Serialize
fields = ('url', 'account_name', 'users', 'created') fields = ('url', 'account_name', 'users', 'created')
lookup_field = 'slug' lookup_field = 'slug'
</code></pre> </code></pre>
<p>Not that the <code>lookup_field</code> will be used as the default on <em>all</em> hyperlinked fields, including both the URL identity, and any hyperlinked relationships.</p> <p>Note that the <code>lookup_field</code> will be used as the default on <em>all</em> hyperlinked fields, including both the URL identity, and any hyperlinked relationships.</p>
<p>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:</p> <p>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:</p>
<pre class="prettyprint lang-py"><code>class AccountSerializer(serializers.HyperlinkedModelSerializer): <pre class="prettyprint lang-py"><code>class AccountSerializer(serializers.HyperlinkedModelSerializer):
url = serializers.HyperlinkedIdentityField( url = serializers.HyperlinkedIdentityField(
......
...@@ -244,6 +244,10 @@ ...@@ -244,6 +244,10 @@
</code></pre> </code></pre>
<hr /> <hr />
<h2 id="23x-series">2.3.x series</h2> <h2 id="23x-series">2.3.x series</h2>
<h3 id="master">Master</h3>
<ul>
<li>JSON renderer now deals with objects that implement a dict-like interface.</li>
</ul>
<h3 id="2310">2.3.10</h3> <h3 id="2310">2.3.10</h3>
<p><strong>Date</strong>: 6th December 2013</p> <p><strong>Date</strong>: 6th December 2013</p>
<ul> <ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment