mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Deployed 2621e03a
with MkDocs version: 0.16.3
This commit is contained in:
parent
bd76ba6241
commit
abcaf8203a
File diff suppressed because one or more lines are too long
|
@ -498,8 +498,10 @@ the view:</p>
|
|||
<pre><code>def perform_create(self, serializer):
|
||||
serializer.save(owner=self.request.user)
|
||||
</code></pre>
|
||||
<p>Alternatively you may override <code>save()</code> or <code>create()</code> or <code>update()</code> on the serialiser as appropriate.
|
||||
* Correct allow_null behaviour when required=False <a href="https://github.com/encode/django-rest-framework/issues/5888">#5888</a></p>
|
||||
<p>Alternatively you may override <code>save()</code> or <code>create()</code> or <code>update()</code> on the serialiser as appropriate.</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Correct allow_null behaviour when required=False <a href="https://github.com/encode/django-rest-framework/issues/5888">#5888</a></p>
|
||||
<p>Without an explicit <code>default</code>, <code>allow_null</code> implies a default of <code>null</code> for outgoing serialisation. Previously such
|
||||
fields were being skipped when read-only or otherwise not required.</p>
|
||||
<p><strong>Possible backwards compatibility break</strong> if you were relying on such fields being excluded from the outgoing
|
||||
|
@ -534,7 +536,11 @@ it to introspect its set of actions and the details of the current action.</p>
|
|||
<li>Deprecated <code>list_route</code> & <code>detail_route</code> in favor of <code>action</code> decorator with <code>detail</code> boolean.</li>
|
||||
<li>Deprecated dynamic list/detail route variants in favor of <code>DynamicRoute</code> with <code>detail</code> boolean.</li>
|
||||
<li>Refactored the router's dynamic route generation.</li>
|
||||
<li>Fix formatting of the 3.7.4 release note <a href="https://github.com/encode/django-rest-framework/issues/5704">#5704</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>Fix formatting of the 3.7.4 release note <a href="https://github.com/encode/django-rest-framework/issues/5704">#5704</a></p>
|
||||
</li>
|
||||
<li>Docs: Update DRF Writable Nested Serializers references <a href="https://github.com/encode/django-rest-framework/issues/5711">#5711</a></li>
|
||||
<li>Docs: Fixed typo in auth URLs example. <a href="https://github.com/encode/django-rest-framework/issues/5713">#5713</a></li>
|
||||
<li>Improve composite field child errors <a href="https://github.com/encode/django-rest-framework/issues/5655">#5655</a></li>
|
||||
|
@ -589,8 +595,6 @@ it to introspect its set of actions and the details of the current action.</p>
|
|||
<li>Enable OrderingFilter to handle an empty tuple (or list) for the 'ordering' field. <a href="https://github.com/encode/django-rest-framework/issues/5899">#5899</a></li>
|
||||
<li>Added generic 500 and 400 JSON error handlers. <a href="https://github.com/encode/django-rest-framework/issues/5904">#5904</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2 id="37x-series"><a class="toclink" href="#37x-series">3.7.x series</a></h2>
|
||||
<h3 id="377"><a class="toclink" href="#377">3.7.7</a></h3>
|
||||
<p><strong>Date</strong>: <a href="https://github.com/encode/django-rest-framework/milestone/65?closed=1">21st December 2017</a></p>
|
||||
|
|
Loading…
Reference in New Issue
Block a user