2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 20:16:44 +00:00

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

(cherry picked from commit efafa3960bac1b70672b1f4791df6e99e5995012)

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

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