Deployed 1aa6dff with MkDocs version: 0.15.3

This commit is contained in:
Tom Christie 2016-10-20 15:48:34 +00:00
parent 8175ad0c2e
commit 8e6452fe19
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -617,7 +617,7 @@ other custom media types, such as those used by Swagger and RAML.</p>
be deprecated at a later date.</p>
<h3 id="modelserializer-fields-and-exclude"><a class="toclink" href="#modelserializer-fields-and-exclude">ModelSerializer 'fields' and 'exclude'</a></h3>
<p>ModelSerializer and HyperlinkedModelSerializer must include either a fields
option, or an exclude option. The fields = '<strong>all</strong>' shortcut may be used to
option, or an exclude option. The <code>fields = '__all__'</code> shortcut may be used to
explicitly include all fields.</p>
<p>Failing to set either <code>fields</code> or <code>exclude</code> raised a pending deprecation warning
in version 3.3 and raised a deprecation warning in 3.4. Its usage is now mandatory.</p>