We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 067746c + e0bb5a5 commit 42d75e7Copy full SHA for 42d75e7
django_pandas/utils.py
@@ -44,7 +44,7 @@ def replace_pk(model):
44
base_cache_key = get_base_cache_key(model)
45
46
def get_cache_key_from_pk(pk):
47
- return None if pk is None else base_cache_key % str(pk)
+ return None if pk is None else base_cache_key % str(int(pk))
48
49
def inner(pk_series):
50
pk_series = pk_series.astype(object).where(pk_series.notnull(), None)
0 commit comments