diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-02-17 08:15:59 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-02-17 08:16:36 +0100 |
| commit | 41a4bba817f139f3cfd94f04e728e046560c9a18 (patch) | |
| tree | 997208a9254bd33ed9ce7f5c3771f2fc885b8215 /docs | |
| parent | 3a54e64ef7c14946dd072ddc26666f4ab9551fe0 (diff) | |
[5.0.x] Fixed #35187 -- Fixed @sensitive_variables/sensitive_post_parameters decorators crash with .pyc-only builds.
Thanks Jon Janzen for the implementation idea.
Thanks Marcus Hoffmann for the report.
Regression in 38e391e95fe5258bc6d2467332dc9cd44ce6ba52.
Backport of d1be05b3e9209fd0787841c71a95819d81061187 from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.0.3.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.0.3.txt b/docs/releases/5.0.3.txt index b433bf6f2f..e17fdd531f 100644 --- a/docs/releases/5.0.3.txt +++ b/docs/releases/5.0.3.txt @@ -20,3 +20,7 @@ Bugfixes would prevent filtering against foreign keys using lookups like ``__isnull`` when the field was not included in :attr:`.ModelAdmin.list_filter` (:ticket:`35173`). + +* Fixed a regression in Django 5.0 that caused a crash of + ``@sensitive_variables`` and ``@sensitive_post_parameters`` decorators on + functions loaded from ``.pyc`` files (:ticket:`35187`). |
