Begin releae anouncement

This commit is contained in:
Carlton Gibson 2017-10-05 21:22:49 +02:00
parent d20d701ceb
commit 0cbc14a059

View File

@ -0,0 +1,29 @@
# Django REST framework 3.7
The 3.7 release focuses on improvements to schema generation and interactive API
documentation.
## Per-view customisation of schema generation.
`APIView` now exposes a `schema` attribute. By default this is an instance of
`rest_framwork.schemas.AutoSchema`. You can subclass this to customise schema
generation on a per-view basis, whilst maintaining the default schema generation
elsewhere.
See [Schema Docs][schema-docs] for full details.
[schema-docs]: ../api-guide/schemas.md
## Deprecations
### `exclude_from_schema`
Both `APIView.exclude_from_schema` and the `exclude_from_schema` argument to the
`@api_view` decorator and now `PendingDeprecation`.
For `APIView` set `schema = None`. For function based views use the `@schema`
decorator passing `None`.