]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/utils.py
be able to pass additional context to the _edit_question view
[osqa.git] / forum / models / utils.py
index ecbe038c15072b4c2c4619ac4d375bd54f2196de..1fbda58e4f2d3cd3b20edc8bffc6d31e4f0d7937 100644 (file)
@@ -122,3 +122,7 @@ class KeyValue(BaseModel):
         except:
             return None
 
+    @classmethod
+    def value_to_list_on_cache_query(cls):
+        return 'key'
+