From b634d18dc55b8f4779d88cdcdeb94847195db90e Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Sat, 3 Jun 2017 18:27:58 +0200 Subject: [PATCH] Correctly adds the `long` type. --- cachalot/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cachalot/utils.py b/cachalot/utils.py index c458d4e..09b5930 100644 --- a/cachalot/utils.py +++ b/cachalot/utils.py @@ -36,7 +36,7 @@ CACHABLE_PARAM_TYPES = { } if PY2: - CACHABLE_PARAM_TYPES.update(long) + CACHABLE_PARAM_TYPES.add(long) UNCACHABLE_FUNCS = set() if django_version[:2] >= (1, 9):