Fix code formatting missing in 3.5 announcement (#4597)

... in section ModelSerializer 'fields' and 'exclude'
This commit is contained in:
Maxime Lorant 2016-10-20 17:47:59 +02:00 committed by Tom Christie
parent c6f1686571
commit 1aa6dff0b5

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