From 487362fa8f23d41de4db58e7408e66eb36399af0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 6 Jul 2017 13:18:05 -0400 Subject: Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. --- docs/howto/custom-model-fields.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/howto') diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt index d7ad9562a5..8ecfee8709 100644 --- a/docs/howto/custom-model-fields.txt +++ b/docs/howto/custom-model-fields.txt @@ -512,7 +512,7 @@ instances:: class HandField(models.Field): # ... - def from_db_value(self, value, expression, connection, context): + def from_db_value(self, value, expression, connection): if value is None: return value return parse_hand(value) -- cgit v1.3