diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2015-05-02 21:27:44 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2015-05-17 09:39:34 +0200 |
| commit | 54026f1e8d0de7dbd0e718fe326ba12666a8d2e9 (patch) | |
| tree | c36a9046caf916328b24d0c6422490b978c66b65 /django/db/models/sql | |
| parent | d9521f66b1851b0eacd55bc78f801dc64123e333 (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.py | 2 |
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: |
