Commit 1aa6dff0 by Maxime Lorant Committed by Tom Christie

Fix code formatting missing in 3.5 announcement (#4597)

... in section ModelSerializer 'fields' and 'exclude'
parent c6f16865
......@@ -246,7 +246,7 @@ be deprecated at a later date.
### ModelSerializer 'fields' and 'exclude'
ModelSerializer and HyperlinkedModelSerializer must include either a fields
option, or an exclude option. The fields = '__all__' shortcut may be used to
option, or an exclude option. The `fields = '__all__'` shortcut may be used to
explicitly include all fields.
Failing to set either `fields` or `exclude` raised a pending deprecation warning
......
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