Subject: CVS commit: pkgsrc/www/py-djangorestframework
From: Adam Ciarcinski
Date: 2023-08-05 08:19:18
Message id: 20230805061918.56338FBDB@cvs.NetBSD.org

Log Message:
py-djangorestframework: updated to 3.14.0

Django REST framework 3.14
Django 4.1 support
The latest release now fully supports Django 4.1, and drops support for Django 2.2.

Our requirements are now:

Python 3.6+
Django 4.1, 4.0, 3.2, 3.1, 3.0
raise_exceptions argument for is_valid is now keyword-only.
Calling serializer_instance.is_valid(True) is no longer acceptable syntax. If \ 
you'd like to use the raise_exceptions argument, you must use it as a keyword \ 
argument.

ManyRelatedField supports returning the default when the source attribute \ 
doesn't exist.
Previously, if you used a serializer field with many=True with a dot notated \ 
source field that didn't exist, it would raise an AttributeError. Now it will \ 
return the default or be skipped depending on the other arguments.

Make Open API get_reference public.
Returns a reference to the serializer component. This may be useful if you \ 
override get_schema().

Change semantic of OR of two permission classes.
When OR-ing two permissions, the request has to pass either class's \ 
has_permission() and has_object_permission().

Previously, both class's has_permission() was ignored when OR-ing two \ 
permissions together.

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

Files:
RevisionActionfile
1.36modifypkgsrc/www/py-djangorestframework/Makefile
1.18modifypkgsrc/www/py-djangorestframework/PLIST
1.28modifypkgsrc/www/py-djangorestframework/distinfo