diff options
| author | Tim Graham <timograham@gmail.com> | 2017-07-06 13:18:05 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-07-20 16:30:08 -0400 |
| commit | 487362fa8f23d41de4db58e7408e66eb36399af0 (patch) | |
| tree | 25897a03c885d44a15860f59c121f0b6fab3e4a8 /tests/custom_pk | |
| parent | 8d5095d8a33824e02c95ee44d6e5acdb4b39e7ed (diff) | |
Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
Diffstat (limited to 'tests/custom_pk')
| -rw-r--r-- | tests/custom_pk/fields.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom_pk/fields.py b/tests/custom_pk/fields.py index 78bb463fce..5bd249df3c 100644 --- a/tests/custom_pk/fields.py +++ b/tests/custom_pk/fields.py @@ -40,7 +40,7 @@ class MyAutoField(models.CharField): value = MyWrapper(value) return value - def from_db_value(self, value, expression, connection, context): + def from_db_value(self, value, expression, connection): if not value: return return MyWrapper(value) |
