summaryrefslogtreecommitdiff
path: root/django/db/backends/base/operations.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2024-08-09 12:57:58 -0400
committernessita <124304+nessita@users.noreply.github.com>2024-08-28 11:44:05 -0300
commita69f895d7de198d7082cd7275390fa2d2a3d5619 (patch)
tree7724b58b65376848233c493eab703a1c7a0ec1ac /django/db/backends/base/operations.py
parentc042fe3a74fb213c93b1052f7de4d99a6e6948e0 (diff)
Refs #34547 -- Adjusted deprecation warning stacklevel in DatabaseOperations.field_cast_sql().
Diffstat (limited to 'django/db/backends/base/operations.py')
-rw-r--r--django/db/backends/base/operations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/base/operations.py b/django/db/backends/base/operations.py
index 889e4d87b4..dba9fcbba8 100644
--- a/django/db/backends/base/operations.py
+++ b/django/db/backends/base/operations.py
@@ -228,6 +228,7 @@ class BaseDatabaseOperations:
"DatabaseOperations.lookup_cast() instead."
),
RemovedInDjango60Warning,
+ stacklevel=2,
)
return "%s"