Web APIs for Django. 🎸
--api-version
CLI option to generateschema
management command. #8663is_valid(raise_exception=False)
as a keyword-only argument. #7952set_context
on Validators. #8589NotImplemented
from ErrorDetails.__ne__
. #8538DateTimeField.default_timezone
when a custom timezone is set. #8531ManyRelatedField
falling back to the default value when the attribute specified by dot notation doesn't exist. Matches ManyRelatedField.get_attribute
to Field.get_attribute
. #7574schemas.openapi.get_reference
public. #7515ReturnDict
support dict
union operators on Python 3.9 and later. #8302request.user
is set before checking if the user is authenticated. #8370@api_view
. #8297max_length
and min_length
options to ListSerializer
. #8165get_request_serializer
and get_response_serializer
hooks to AutoSchema
. #7424UNICODE_JSON
setting in API schema outputs. #7991RemoteUserAuthentication
. #7158This is the last Django REST Framework release that will support Python 2. Be sure to upgrade to Python 3 before upgrading to Django REST Framework 3.10.
See Release Notes for details.
Release announcement: https://www.django-rest-framework.org/community/3.9-announcement/
Change Notes: https://www.django-rest-framework.org/community/release-notes/#39x-series
Point release for 3.8.x series
read_only
+ default
unique_together
validation. #5922Use old url_name
behavior in route decorators #5915
For list_route
and detail_route
maintain the old behavior of url_name
,
basing it on the url_path
instead of the function name.