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/postgres_tests/models.py | |
| 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/postgres_tests/models.py')
| -rw-r--r-- | tests/postgres_tests/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index fcfd85f8e7..b7094b77e1 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -18,7 +18,7 @@ class Tag: class TagField(models.SmallIntegerField): - def from_db_value(self, value, expression, connection, context): + def from_db_value(self, value, expression, connection): if value is None: return value return Tag(int(value)) |
