mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
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 38e391e95f.
This commit is contained in:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user