2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 11:05:41 +00:00

fix: invalid chas in cache key (#3574)

This commit is contained in:
wolflu05
2022-08-18 23:56:03 +02:00
committed by GitHub
parent 7384a85bdb
commit efafa3960b

View File

@ -131,7 +131,7 @@ class BaseInvenTreeSetting(models.Model):
for k, v in kwargs.items():
key += f"_{k}:{v}"
return key
return key.replace(" ", "")
@classmethod
def allValues(cls, user=None, exclude_hidden=False):