Skip to content

Latest commit

History

History
97 lines (57 loc) 路 1.92 KB

3.8-announcement.md

File metadata and controls

97 lines (57 loc) 路 1.92 KB
<style> .promo li a { float: left; width: 130px; height: 20px; text-align: center; margin: 10px 30px; padding: 150px 0 0 0; background-position: 0 50%; background-size: 130px auto; background-repeat: no-repeat; font-size: 120%; color: black; } .promo li { list-style: none; } </style>

Django REST framework 3.8

TODO

The 3.8 release ...


Funding

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.


Breaking Changes

Altered behaviour of read_only plus default on Field.

#5886

read_only fields will now always be excluded from writable fields.

Previously read_only fields with a default value would use the default for create and update operations.

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.


Boolean Composable Permissions

TODO


Namespace Support

TODO


Viewset actions

TODO:


Minor fixes and improvements

There are a large number of minor fixes and improvements in this release. See the release notes page for a complete listing.


Deprecations

TODO


What's next

TODO