diff options
| author | Simon Charette <charette.s@gmail.com> | 2024-08-09 12:45:44 -0400 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2024-08-28 11:44:05 -0300 |
| commit | 47f18a722624527cc72eef44cfc9d1e07ea4b4e0 (patch) | |
| tree | 0c4de59fc1b465996d4ac767254ec600b356bed4 /django/core | |
| parent | 52ed2b645e1dd8c9a874cfd21c4c9f2500032626 (diff) | |
Refs #35326 -- Adjusted deprecation warning stacklevel in FileSystemStorage.OS_OPEN_FLAGS.
Diffstat (limited to 'django/core')
| -rw-r--r-- | django/core/files/storage/filesystem.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/core/files/storage/filesystem.py b/django/core/files/storage/filesystem.py index 310a0ed0de..bf2b9caad4 100644 --- a/django/core/files/storage/filesystem.py +++ b/django/core/files/storage/filesystem.py @@ -48,6 +48,7 @@ class FileSystemStorage(Storage, StorageSettingsMixin): "Overriding OS_OPEN_FLAGS is deprecated. Use " "the allow_overwrite parameter instead.", RemovedInDjango60Warning, + stacklevel=2, ) @cached_property |
