diff options
Diffstat (limited to 'tests/from_db_value')
| -rw-r--r-- | tests/from_db_value/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/from_db_value/models.py b/tests/from_db_value/models.py index 6a06c832ea..aa62b1f567 100644 --- a/tests/from_db_value/models.py +++ b/tests/from_db_value/models.py @@ -18,7 +18,7 @@ class CashField(models.DecimalField): kwargs['decimal_places'] = 2 super(CashField, self).__init__(**kwargs) - def from_db_value(self, value, connection, context): + def from_db_value(self, value, expression, connection, context): cash = Cash(value) cash.vendor = connection.vendor return cash |
