<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django-rest-framework/rest_framework/tests/test_serializer.py, branch 2.4.2</title>
<subtitle>Web APIs for Django.</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/'/>
<entry>
<title>Support for running the test suite with py.test</title>
<updated>2014-03-02T11:40:30+00:00</updated>
<author>
<name>Andreas Pelme</name>
</author>
<published>2014-03-02T11:40:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=971578ca345c3d3bae7fd93b87c41d43483b6f05'/>
<id>971578ca345c3d3bae7fd93b87c41d43483b6f05</id>
<content type='text'>
 * Get rid of runtests.py
 * Moved test code  from rest_framework/tests and rest_framework/runtests to tests
 * Invoke py.test from setup.py
 * Invoke py.test from Travis
 * Invoke py.test from tox
 * Changed setUpClass to be just plain setUp in test_permissions.py
 * Updated contribution guideline to show how to invoke py.test
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * Get rid of runtests.py
 * Moved test code  from rest_framework/tests and rest_framework/runtests to tests
 * Invoke py.test from setup.py
 * Invoke py.test from Travis
 * Invoke py.test from tox
 * Changed setUpClass to be just plain setUp in test_permissions.py
 * Updated contribution guideline to show how to invoke py.test
</pre>
</div>
</content>
</entry>
<entry>
<title>Test and quick fix for #1257</title>
<updated>2014-02-11T13:44:56+00:00</updated>
<author>
<name>Carlton Gibson</name>
</author>
<published>2014-02-11T13:44:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=95670933d7954a99e02f0e19f285d8740ab5e449'/>
<id>95670933d7954a99e02f0e19f285d8740ab5e449</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'nullbooleanfield_testcase' of git://github.com/dpetzel/django-rest-framework into dpetzel-nullbooleanfield_testcase</title>
<updated>2013-12-16T13:51:57+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2013-12-16T13:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=889401989948db9e9825478e71aa1611b4390d17'/>
<id>889401989948db9e9825478e71aa1611b4390d17</id>
<content type='text'>
Conflicts:
	rest_framework/tests/test_serializer.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	rest_framework/tests/test_serializer.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix expansion of writable nested serializers where the inner fields have source set.</title>
<updated>2013-12-16T02:55:54+00:00</updated>
<author>
<name>Craig de Stigter</name>
</author>
<published>2013-12-16T02:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=4a134eefa2c3b71aa1dc6a4ec94716fe41dca8f5'/>
<id>4a134eefa2c3b71aa1dc6a4ec94716fe41dca8f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix default values always being False for browsable API</title>
<updated>2013-12-13T18:20:29+00:00</updated>
<author>
<name>Kevin Brown</name>
</author>
<published>2013-12-13T17:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=90edcbf938ed8d6f3b783372c17e60bbf0761b61'/>
<id>90edcbf938ed8d6f3b783372c17e60bbf0761b61</id>
<content type='text'>
This fixes a bug that was introduced in 28ff6fb [1] for the
browsable API, specifically with how it handled default values
for boolean fields.  Previously, it had a global default for
boolean fields set to `False`, which was different than the
standard None that was used elsewhere.  Because this only needed
to be done for the browsable API, a fix was put into place that
only set the default to `False` when form data was passed into
the serializer.  This had the unintended side effect of overriding
any default set on the boolean field.

This fixes #1101 [2] by only overriding the default if the default is
`None`, which is the default for all fields.

[1]: https://github.com/tomchristie/django-rest-framework/commit/28ff6fb1ec02b7a04c4a0db54885f3735b6dd43f
[2]: https://github.com/tomchristie/django-rest-framework/issues/1101
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a bug that was introduced in 28ff6fb [1] for the
browsable API, specifically with how it handled default values
for boolean fields.  Previously, it had a global default for
boolean fields set to `False`, which was different than the
standard None that was used elsewhere.  Because this only needed
to be done for the browsable API, a fix was put into place that
only set the default to `False` when form data was passed into
the serializer.  This had the unintended side effect of overriding
any default set on the boolean field.

This fixes #1101 [2] by only overriding the default if the default is
`None`, which is the default for all fields.

[1]: https://github.com/tomchristie/django-rest-framework/commit/28ff6fb1ec02b7a04c4a0db54885f3735b6dd43f
[2]: https://github.com/tomchristie/django-rest-framework/issues/1101
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise appropriate error in serializer when making a partial update to set a required RelatedField to null (issue #1158)</title>
<updated>2013-12-06T20:00:23+00:00</updated>
<author>
<name>Chuck Harmston</name>
</author>
<published>2013-12-06T20:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=cf6c11bd4b7e7fdaa1de659d69792030e565412a'/>
<id>cf6c11bd4b7e7fdaa1de659d69792030e565412a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add test case around ensuring proper field inference for boolean model field types</title>
<updated>2013-10-19T01:10:49+00:00</updated>
<author>
<name>dpetzel</name>
</author>
<published>2013-10-19T01:10:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=735c75abb9e612fa0f1e6bdfa4283610752056d2'/>
<id>735c75abb9e612fa0f1e6bdfa4283610752056d2</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 #1112 from tamakisquare/issue-1111</title>
<updated>2013-10-17T14:31:15+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2013-10-17T14:31:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=6a40202a644055808bde355471b1400264d0dada'/>
<id>6a40202a644055808bde355471b1400264d0dada</id>
<content type='text'>
Test case and fix for issue 1111</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test case and fix for issue 1111</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://github.com/tomchristie/django-rest-framework</title>
<updated>2013-10-10T16:34:15+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2013-10-10T16:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=f18158358d99f94e2475821b1f3477dde0731bd7'/>
<id>f18158358d99f94e2475821b1f3477dde0731bd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure read-only fields don't break with current HTML renderer behavior</title>
<updated>2013-10-10T16:33:22+00:00</updated>
<author>
<name>Tom Christie</name>
</author>
<published>2013-10-10T16:33:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/django-rest-framework/commit/?id=9e29c6389529210978d58cee78e437b901f9daa2'/>
<id>9e29c6389529210978d58cee78e437b901f9daa2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
