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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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