<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django-rest-framework/tests, branch 3.0.5</title>
<subtitle>Web APIs for Django.</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/'/>
<entry>
<title>Failing test case for #1488</title>
<updated>2015-02-10T09:50:35+00:00</updated>
<author>
<name>Carlton Gibson</name>
</author>
<published>2015-02-10T09:50:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=d87bb67d11918683425af1c1d56c0c57f50e81b3'/>
<id>d87bb67d11918683425af1c1d56c0c57f50e81b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for latest version of pep8</title>
<updated>2015-02-09T17:43:20+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2015-02-09T17:43:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=b2939c157d32e604e10099be891e382d8c54bbec'/>
<id>b2939c157d32e604e10099be891e382d8c54bbec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pep8 fix</title>
<updated>2015-02-09T17:22:13+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2015-02-09T17:22:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=0669f507b3a63114cf429f0662b1781f0e1fa5f8'/>
<id>0669f507b3a63114cf429f0662b1781f0e1fa5f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Py3 compat fix</title>
<updated>2015-02-09T17:19:22+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2015-02-09T17:19:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=54d82f59ed8a5d2ad4c679680dc52b8a94831d50'/>
<id>54d82f59ed8a5d2ad4c679680dc52b8a94831d50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Prefetching the user object when getting the token in TokenAuthentication.</title>
<updated>2015-02-04T14:08:41+00:00</updated>
<author>
<name>Ofir Ovadia</name>
</author>
<published>2015-02-04T14:08:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=58e7bbc8ecad8016cc18f7dbd31b235cb515b785'/>
<id>58e7bbc8ecad8016cc18f7dbd31b235cb515b785</id>
<content type='text'>
Since the user object is fetched 4 lines after getting Token from the database, this removes a DB query for each token-authenticated request.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the user object is fetched 4 lines after getting Token from the database, this removes a DB query for each token-authenticated request.
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed router check for deprecated '.model' attribute</title>
<updated>2015-01-29T16:28:03+00:00</updated>
<author>
<name>Tymur Maryokhin</name>
</author>
<published>2015-01-29T16:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=ba7dca893cd55a1d5ee928c4b10878c92c44c4f5'/>
<id>ba7dca893cd55a1d5ee928c4b10878c92c44c4f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2475 from sdreher/master</title>
<updated>2015-01-28T09:26:49+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2015-01-28T09:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=6d89430dd268e01812214d1819337e1498d6068a'/>
<id>6d89430dd268e01812214d1819337e1498d6068a</id>
<content type='text'>
 ManyRelatedField.get_value clearing field on partial update</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 ManyRelatedField.get_value clearing field on partial update</pre>
</div>
</content>
</entry>
<entry>
<title>reorganize imports</title>
<updated>2015-01-27T21:32:15+00:00</updated>
<author>
<name>Susan Dreher</name>
</author>
<published>2015-01-27T21:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=e7da266a866adddd5c37453fab33812ee412752b'/>
<id>e7da266a866adddd5c37453fab33812ee412752b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>reorganize imports</title>
<updated>2015-01-27T21:31:25+00:00</updated>
<author>
<name>Susan Dreher</name>
</author>
<published>2015-01-27T21:31:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=1714ceae9f468bc1479f0d7a32b0bf26ae9cf15f'/>
<id>1714ceae9f468bc1479f0d7a32b0bf26ae9cf15f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>:bug: ManyRelatedField get_value clearing field on partial update</title>
<updated>2015-01-27T21:18:51+00:00</updated>
<author>
<name>Susan Dreher</name>
</author>
<published>2015-01-27T21:18:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=8c3f82fb18a58b8e0983612ef3cc35b3c3950b66'/>
<id>8c3f82fb18a58b8e0983612ef3cc35b3c3950b66</id>
<content type='text'>
A PATCH to a serializer's non-related CharField was clearing an ancillary StringRelatedField(many=True) field.
The issue appears to be in the ManyRelatedField's get_value method, which was returning a [] instead of empty
when the request data was a MultiDict.

This fix mirrors code in fields.py, class Field, get_value, Ln. 272, which explicitly returns empty on a partial update.

Tests added to demonstrate the issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A PATCH to a serializer's non-related CharField was clearing an ancillary StringRelatedField(many=True) field.
The issue appears to be in the ManyRelatedField's get_value method, which was returning a [] instead of empty
when the request data was a MultiDict.

This fix mirrors code in fields.py, class Field, get_value, Ln. 272, which explicitly returns empty on a partial update.

Tests added to demonstrate the issue.
</pre>
</div>
</content>
</entry>
</feed>
