diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/backends/base/operations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/base/operations.py b/django/db/backends/base/operations.py index 6e5aff19cd..acca12708a 100644 --- a/django/db/backends/base/operations.py +++ b/django/db/backends/base/operations.py @@ -485,7 +485,7 @@ class BaseDatabaseOperations(object): raise ValueError("Django does not support timezone-aware times.") return six.text_type(value) - def adapt_decimalfield_value(self, value, max_digits, decimal_places): + def adapt_decimalfield_value(self, value, max_digits=None, decimal_places=None): """ Transforms a decimal.Decimal value to an object compatible with what is expected by the backend driver for decimal (numeric) columns. |
