Fix code formatting missing in 3.5 announcement

... in section ModelSerializer 'fields' and 'exclude'
This commit is contained in:
Maxime Lorant 2016-10-20 17:46:16 +02:00 committed by GitHub
parent c6f1686571
commit 61ad13b160

View File

@ -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