mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix: invalid chas in cache key (#3574)
This commit is contained in:
parent
7384a85bdb
commit
efafa3960b
@ -131,7 +131,7 @@ class BaseInvenTreeSetting(models.Model):
|
|||||||
for k, v in kwargs.items():
|
for k, v in kwargs.items():
|
||||||
key += f"_{k}:{v}"
|
key += f"_{k}:{v}"
|
||||||
|
|
||||||
return key
|
return key.replace(" ", "")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def allValues(cls, user=None, exclude_hidden=False):
|
def allValues(cls, user=None, exclude_hidden=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user