You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/topics/3.6-announcement.md
+133-6Lines changed: 133 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,21 @@
19
19
20
20
# Django REST framework 3.6
21
21
22
+
The 3.6 release adds two major new features to REST framework.
23
+
24
+
1. Built-in interactive API documentation support.
25
+
2. A new JavaScript client library.
26
+
27
+

28
+
29
+
*Above: The interactive API documentation.*
30
+
22
31
---
23
32
24
33
## Funding
25
34
26
-
The 3.6 release would not have been possible without our [collaborative funding model][funding].
35
+
The 3.6 release would not have been possible without our [backing from Mozilla](mozilla-grant.md) to the project, and our [collaborative funding model][funding].
36
+
27
37
If you use REST framework commercially and would like to see this work continue,
28
38
we strongly encourage you to invest in its continued development by
29
39
**[signing up for a paid plan][funding]**.
@@ -40,24 +50,141 @@ we strongly encourage you to invest in its continued development by
40
50
41
51
*Many thanks to all our [sponsors][sponsors], and in particular to our premium backers, [Rover](http://jobs.rover.com/), [Sentry](https://getsentry.com/welcome/), [Stream](https://getstream.io/?utm_source=drf&utm_medium=banner&utm_campaign=drf), [Machinalis](https://hello.machinalis.co.uk/), [Rollbar](https://rollbar.com), and [MicroPyramid](https://micropyramid.com/django-rest-framework-development-services/).*
42
52
53
+
---
54
+
55
+
## Interactive API documentation
56
+
57
+
REST framework's new API documentation supports a number of features:
58
+
59
+
* Live API interaction.
60
+
* Support for various authentication schemes.
61
+
* Code snippets for the Python, JavaScript, and Command Line clients.
62
+
63
+
To install the API documentation, you'll need to include it in your projects URLconf:
64
+
65
+
from rest_framework.documentation import include_docs_urls
For more information see the [Python client library documentation][py-docs].
53
145
54
146
---
55
147
56
148
## Deprecations
57
149
58
-
...
150
+
### Generating schemas from Router
151
+
152
+
The 3.5 "pending deprecation" of router arguments for generating a schema view, such as `schema_title`, `schema_url` and `schema_renderers`, have now been escalated to a
153
+
"deprecated" warning.
154
+
155
+
Instead of using `DefaultRouter(schema_title='Example API')`, you should use the `get_schema_view()` function, and include the view explicitly in your URL conf.
156
+
157
+
### DjangoFilterBackend
158
+
159
+
The 3.5 "pending deprecation" warning of the built-in `DjangoFilterBackend` has now
160
+
been escalated to a "deprecated" warning.
161
+
162
+
You should change your imports and REST framework filter settings as follows:
0 commit comments