X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/8e91963c85103b7b47eb6e6d39656bc938c55e0e..22236fb67da2f27ceb35ad138f4d534a4fd08251:/forum/models/utils.py diff --git a/forum/models/utils.py b/forum/models/utils.py index ecbe038..1fbda58 100644 --- a/forum/models/utils.py +++ b/forum/models/utils.py @@ -122,3 +122,7 @@ class KeyValue(BaseModel): except: return None + @classmethod + def value_to_list_on_cache_query(cls): + return 'key' +