diff --git a/topics/3.8-announcement/index.html b/topics/3.8-announcement/index.html
new file mode 100644
index 000000000..c268a9134
--- /dev/null
+++ b/topics/3.8-announcement/index.html
@@ -0,0 +1,538 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
The 3.8 release is a maintenance focused release resolving a large number of previously outstanding issues and laying
+the foundations for future changes.
+
+
+
If you use REST framework commercially and would like to see this work continue, we strongly encourage you to invest in its continued development by
+signing up for a paid plan.
+
We'd like to say thanks in particular our premium backers, Rover, Sentry, Stream, Machinalis, and Rollbar.
+
+
+
+
#5886 read_only
fields will now always be excluded from writable fields.
+
Previously read_only
fields when combined with a default
value would use the default
for create and update
+operations. This was counter-intuitive in some circumstances and led to difficulties supporting dotted source
+attributes on nullable relations.
+
In order to maintain the old behaviour you may need to pass the value of read_only
fields when calling save()
in
+the view:
+
def perform_create(self, serializer):
+ serializer.save(owner=self.request.user)
+
+
Alternatively you may override save()
or create()
or update()
on the serialiser as appropriate.
+
+
+
+
#5705 list_route
and detail_route
have been merge into a single action
decorator. This improves viewset action introspection, and will allow extra actions to be displayed in the Browsable API in future versions.
+
Both list_route
and detail_route
are now pending deprecation. They will be deprecated in 3.9 and removed entirely
+in 3.10.
+
The new action
decorator takes a boolean detail
argument.
+
+- Replace
detail_route
uses with @action(detail=True)
.
+- Replace
list_route
uses with @action(detail=False)
.
+
+
+
Both APIView.exclude_from_schema
and the exclude_from_schema
argument to the @api_view
decorator are now deprecated. They will be removed entirely in 3.9.
+
For APIView
you should instead set a schema = None
attribute on the view class.
+
For function based views the @schema
decorator can be used to exclude the view from the schema, by using @schema(None)
.
+
+
+
There are a large number of minor fixes and improvements in this release. See the release notes page
+for a complete listing.
+
+
We're currently working towards moving to using OpenAPI as our default schema output. We'll also be revisiting our API documentation generation and client libraries.
+
We're doing some consolidation in order to make this happen. It's planned that 3.9 will drop the coreapi
and coreschema
libraries, and instead use apistar
for the API documentation generation, schema generation, and API client libraries.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/topics/ajax-csrf-cors/index.html b/topics/ajax-csrf-cors/index.html
index 274978870..59d144704 100644
--- a/topics/ajax-csrf-cors/index.html
+++ b/topics/ajax-csrf-cors/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/api-clients/index.html b/topics/api-clients/index.html
index 66eff7b2f..35bc751ce 100644
--- a/topics/api-clients/index.html
+++ b/topics/api-clients/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/browsable-api/index.html b/topics/browsable-api/index.html
index 9f16a60cc..b091f439a 100644
--- a/topics/browsable-api/index.html
+++ b/topics/browsable-api/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/browser-enhancements/index.html b/topics/browser-enhancements/index.html
index f57779819..3b0dcca7a 100644
--- a/topics/browser-enhancements/index.html
+++ b/topics/browser-enhancements/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/contributing/index.html b/topics/contributing/index.html
index 280120068..d76a81299 100644
--- a/topics/contributing/index.html
+++ b/topics/contributing/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/documenting-your-api/index.html b/topics/documenting-your-api/index.html
index 346365ef3..c098bac39 100644
--- a/topics/documenting-your-api/index.html
+++ b/topics/documenting-your-api/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/funding/index.html b/topics/funding/index.html
index c1b7e1b06..b7988c418 100644
--- a/topics/funding/index.html
+++ b/topics/funding/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/html-and-forms/index.html b/topics/html-and-forms/index.html
index 147af1554..405c4c8c0 100644
--- a/topics/html-and-forms/index.html
+++ b/topics/html-and-forms/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/internationalization/index.html b/topics/internationalization/index.html
index eb269e211..66d5978bb 100644
--- a/topics/internationalization/index.html
+++ b/topics/internationalization/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/jobs/index.html b/topics/jobs/index.html
index 58049f05d..69a8f7482 100644
--- a/topics/jobs/index.html
+++ b/topics/jobs/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/kickstarter-announcement/index.html b/topics/kickstarter-announcement/index.html
index b307ba82d..258d6604f 100644
--- a/topics/kickstarter-announcement/index.html
+++ b/topics/kickstarter-announcement/index.html
@@ -61,7 +61,7 @@
Next
-
+
Previous
Search
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/mozilla-grant/index.html b/topics/mozilla-grant/index.html
index 7a4f6c884..d937828fd 100644
--- a/topics/mozilla-grant/index.html
+++ b/topics/mozilla-grant/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/project-management/index.html b/topics/project-management/index.html
index 328e622e6..815b24f03 100644
--- a/topics/project-management/index.html
+++ b/topics/project-management/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/release-notes/index.html b/topics/release-notes/index.html
index 05ed639b1..15aa2759c 100644
--- a/topics/release-notes/index.html
+++ b/topics/release-notes/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/rest-hypermedia-hateoas/index.html b/topics/rest-hypermedia-hateoas/index.html
index b820a40da..b38d68c56 100644
--- a/topics/rest-hypermedia-hateoas/index.html
+++ b/topics/rest-hypermedia-hateoas/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/third-party-packages/index.html b/topics/third-party-packages/index.html
index f319e402f..3fcecc16f 100644
--- a/topics/third-party-packages/index.html
+++ b/topics/third-party-packages/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/topics/tutorials-and-resources/index.html b/topics/tutorials-and-resources/index.html
index fa68024a2..0c85a9dc9 100644
--- a/topics/tutorials-and-resources/index.html
+++ b/topics/tutorials-and-resources/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/1-serialization/index.html b/tutorial/1-serialization/index.html
index b322cb0ab..f59f1a6d9 100644
--- a/tutorial/1-serialization/index.html
+++ b/tutorial/1-serialization/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/2-requests-and-responses/index.html b/tutorial/2-requests-and-responses/index.html
index 73aa06497..e31bf0673 100644
--- a/tutorial/2-requests-and-responses/index.html
+++ b/tutorial/2-requests-and-responses/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/3-class-based-views/index.html b/tutorial/3-class-based-views/index.html
index 2fc450f5d..ce39544dc 100644
--- a/tutorial/3-class-based-views/index.html
+++ b/tutorial/3-class-based-views/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/4-authentication-and-permissions/index.html b/tutorial/4-authentication-and-permissions/index.html
index c5ec7e255..59aada293 100644
--- a/tutorial/4-authentication-and-permissions/index.html
+++ b/tutorial/4-authentication-and-permissions/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/5-relationships-and-hyperlinked-apis/index.html b/tutorial/5-relationships-and-hyperlinked-apis/index.html
index 9136e446d..9d1e1225e 100644
--- a/tutorial/5-relationships-and-hyperlinked-apis/index.html
+++ b/tutorial/5-relationships-and-hyperlinked-apis/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/6-viewsets-and-routers/index.html b/tutorial/6-viewsets-and-routers/index.html
index 3c1e069e4..8ee82739b 100644
--- a/tutorial/6-viewsets-and-routers/index.html
+++ b/tutorial/6-viewsets-and-routers/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/7-schemas-and-client-libraries/index.html b/tutorial/7-schemas-and-client-libraries/index.html
index 684e9c7d5..2b874d490 100644
--- a/tutorial/7-schemas-and-client-libraries/index.html
+++ b/tutorial/7-schemas-and-client-libraries/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement
diff --git a/tutorial/quickstart/index.html b/tutorial/quickstart/index.html
index ea71cfa80..b35560120 100644
--- a/tutorial/quickstart/index.html
+++ b/tutorial/quickstart/index.html
@@ -322,6 +322,10 @@
3.7 Announcement
+
+ 3.8 Announcement
+
+
Kickstarter Announcement