From c8717fb06b2f5a7563dd74961165671629d35f33 Mon Sep 17 00:00:00 2001 From: Qwann Date: Mon, 27 Aug 2018 00:56:57 +0200 Subject: [PATCH] MAJ : preparing for Django 3.0 --- equipment/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equipment/fields.py b/equipment/fields.py index 2b63d52..5e7ecce 100644 --- a/equipment/fields.py +++ b/equipment/fields.py @@ -37,7 +37,7 @@ class IdField(models.BigIntegerField): k += 1 return res - def from_db_value(self, value, expression, connection, context): + def from_db_value(self, value, expression, connection): if value is None: return value return self.parse_integer(value)