Correctly adds the `long` type.

This commit is contained in:
Bertrand Bordage 2017-06-03 18:27:58 +02:00
parent 2d5ad63fbd
commit b634d18dc5
1 changed files with 1 additions and 1 deletions

View File

@ -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):