Package: djangorestframework / 3.15.2-2

Metadata

Package Version Patches format
djangorestframework 3.15.2-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Clean all privacy breaches in the package.patch | (download)

docs/community/3.0-announcement.md | 4 1 3 - 0 !
docs/community/3.10-announcement.md | 11 0 11 - 0 !
docs/community/3.11-announcement.md | 12 0 12 - 0 !
docs/community/3.12-announcement.md | 12 0 12 - 0 !
docs/community/3.4-announcement.md | 7 0 7 - 0 !
docs/community/3.5-announcement.md | 8 0 8 - 0 !
docs/community/3.6-announcement.md | 10 0 10 - 0 !
docs/community/3.7-announcement.md | 9 0 9 - 0 !
docs/community/3.9-announcement.md | 15 1 14 - 0 !
docs/community/funding.md | 182 4 178 - 0 !
docs/community/kickstarter-announcement.md | 2 1 1 - 0 !
docs/community/mozilla-grant.md | 27 1 26 - 0 !
docs/index.md | 25 0 25 - 0 !
docs_theme/main.html | 29 6 23 - 0 !
14 files changed, 14 insertions( ), 339 deletions(-)

 clean all privacy breaches in the package

Fix asset names to match symlinks to packaged files.patch | (download)

rest_framework/templates/rest_framework/admin.html | 4 2 2 - 0 !
rest_framework/templates/rest_framework/base.html | 4 2 2 - 0 !
rest_framework/templates/rest_framework/docs/error.html | 2 1 1 - 0 !
rest_framework/templates/rest_framework/docs/index.html | 4 2 2 - 0 !
4 files changed, 7 insertions( ), 7 deletions(-)

 fix asset names to match symlinks to packaged files.

py313.patch | (download)

rest_framework/schemas/inspectors.py | 5 3 2 - 0 !
1 file changed, 3 insertions( ), 2 deletions(-)

 fix view description inspection in python 3.13
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Python 3.13 introduced docstrings for None: https://github.com/python/cpython/pull/117813

In Python 3.12, this is an empty string:

```
  python3.12
Python 3.12.6 (main, Sep 10 2024, 19:06:17) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> d = None
>>> d.__doc__
>>>
```

In Python 3.13, it's no longer empty:

```
  python3.13
Python 3.13.0rc2  (heads/3.13:660baa1, Sep 10 2024, 18:57:50) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> d = None
>>> d.__doc__
'The type of the None singleton.'
>>>
```

Adding a check in the inspector that get the view description out the view function docstring to catch this edge case.