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

fix: invalid chas in cache key (#3574) (#3577)

(cherry picked from commit efafa3960b)

Co-authored-by: wolflu05 <76838159+wolflu05@users.noreply.github.com>
This commit is contained in:
Oliver
2022-08-19 11:35:49 +10:00
committed by GitHub
parent 2ae1d1c663
commit 644bcb263f

View File

@ -132,7 +132,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):