summaryrefslogtreecommitdiff
path: root/django/db/models/sql
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2015-05-02 21:27:44 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2015-05-17 09:39:34 +0200
commit54026f1e8d0de7dbd0e718fe326ba12666a8d2e9 (patch)
treec36a9046caf916328b24d0c6422490b978c66b65 /django/db/models/sql
parentd9521f66b1851b0eacd55bc78f801dc64123e333 (diff)
Renamed value_to_db_xxx to adapt_xxxfield_value.
This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules.
Diffstat (limited to 'django/db/models/sql')
-rw-r--r--django/db/models/sql/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index 52553ddfa1..776f06a7a8 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -99,7 +99,7 @@ class RawQuery(object):
# Adapt parameters to the database, as much as possible considering
# that the target type isn't known. See #17755.
params_type = self.params_type
- adapter = connection.ops.value_to_db_unknown
+ adapter = connection.ops.adapt_unknown_value
if params_type is tuple:
params = tuple(adapter(val) for val in self.params)
elif params_type is dict: